Share via


TelemetryDetails(Assembly, String) Constructor

Definition

Initialize an instance of TelemetryDetails by extracting the name and version information from the Assembly associated with the assembly.

public TelemetryDetails (System.Reflection.Assembly assembly, string? applicationId = default);
new Azure.Core.TelemetryDetails : System.Reflection.Assembly * string -> Azure.Core.TelemetryDetails
Public Sub New (assembly As Assembly, Optional applicationId As String = Nothing)

Parameters

assembly
Assembly

The Assembly used to generate the package name and version information for the TelemetryDetails value.

applicationId
String

An optional value to be prepended to the TelemetryDetails. This value overrides the behavior of the ApplicationId property for the HttpMessage it is applied to.

Applies to