C# 클래스 Microsoft.Practices.EnterpriseLibrary.SemanticLogging.OsVersionContextInitializer

An IContextInitializer implementation that appends the Environment.OSVersion to an Application Insights TelemetryContext
상속: IContextInitializer
파일 보기 프로젝트 열기: fidmor89/SLAB_AppInsights 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Initialize() 공개 메소드

Initializes the given T:Microsoft.ApplicationInsights.DataContracts.TelemetryContext.
public Initialize ( Microsoft.ApplicationInsights.DataContracts.TelemetryContext context ) : void
context Microsoft.ApplicationInsights.DataContracts.TelemetryContext
리턴 void

OsVersionContextInitializer() 공개 메소드

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