C# Class Microsoft.Practices.EnterpriseLibrary.SemanticLogging.OsVersionContextInitializer

An IContextInitializer implementation that appends the Environment.OSVersion to an Application Insights TelemetryContext
Inheritance: IContextInitializer
Afficher le fichier Open project: fidmor89/SLAB_AppInsights Class Usage Examples

Méthodes publiques

Méthode Description
Initialize ( Microsoft.ApplicationInsights.DataContracts.TelemetryContext context ) : void

Initializes the given T:Microsoft.ApplicationInsights.DataContracts.TelemetryContext.

OsVersionContextInitializer ( string osVersion = null ) : System

Initializes a new instance of the T:System.Object class.

Method Details

Initialize() public méthode

Initializes the given T:Microsoft.ApplicationInsights.DataContracts.TelemetryContext.
public Initialize ( Microsoft.ApplicationInsights.DataContracts.TelemetryContext context ) : void
context Microsoft.ApplicationInsights.DataContracts.TelemetryContext
Résultat void

OsVersionContextInitializer() public méthode

Initializes a new instance of the T:System.Object class.
public OsVersionContextInitializer ( string osVersion = null ) : System
osVersion string The os version.
Résultat System