TelemetryDetails(Assembly, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET