Skip to content

RecordException has been replaced by AddException #3714

@willdean

Description

@willdean

Type of issue

Outdated article

Description

The RecordException method called in ExecuteAsync is now obsolete:

[Obsolete("Call Activity.AddException instead this method will be removed in a future version.")]

It should probably be AddException instead

Page URL

https://learn.microsoft.com/en-us/dotnet/aspire/database/ef-core-migrations

Content source URL

https://github.com/dotnet/docs-aspire/blob/main/docs/database/ef-core-migrations.md

Document Version Independent Id

570db834-663e-58f9-b714-5938e410ebd5

Platform Id

ee92d915-b4f9-6267-19c1-fd336a24baf2

Article author

@IEvangelist

Related Issues

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions