Skip to content

Use System.Diagnostics.Activity.AddException in System.ClientModel ActivityExtensions when using .NET 9 + #49121

Open
@m-redding

Description

@m-redding

AddException - https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.activity.addexception?view=net-9.0 was added in .NET 9. We should use this method instead of the private method in ActivityExtensions once we can upgrade System.Diagnostics.DiagnosticSource to .NET 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.System.ClientModelBase Core library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions