C# 클래스 Microsoft.WindowsAzure.Commands.Common.MetricHelper

파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

Private Properties

프로퍼티 타입 설명
LoadTelemetryClientContext void
LogExceptionEvent void
LogUsageEvent void
PopulatePropertiesFromQos void

공개 메소드들

메소드 설명
AddTelemetryClient ( Microsoft.ApplicationInsights.TelemetryClient client ) : void

Add a telemetry client.

FlushMetric ( ) : void
GenerateSha256HashString ( string originInput ) : string

Generate a SHA256 Hash string from the originInput.

IsMetricTermAccepted ( ) : bool
LogQoSEvent ( AzurePSQoSEvent qos, bool isUsageMetricEnabled, bool isErrorMetricEnabled ) : void
MetricHelper ( ) : Microsoft.ApplicationInsights

비공개 메소드들

메소드 설명
LoadTelemetryClientContext ( AzurePSQoSEvent qos, Microsoft.ApplicationInsights.DataContracts.TelemetryContext clientContext ) : void
LogExceptionEvent ( AzurePSQoSEvent qos ) : void
LogUsageEvent ( AzurePSQoSEvent qos ) : void
PopulatePropertiesFromQos ( AzurePSQoSEvent qos, string>.IDictionary eventProperties ) : void

메소드 상세

AddTelemetryClient() 공개 메소드

Add a telemetry client.
public AddTelemetryClient ( Microsoft.ApplicationInsights.TelemetryClient client ) : void
client Microsoft.ApplicationInsights.TelemetryClient The telemetry client.
리턴 void

FlushMetric() 공개 메소드

public FlushMetric ( ) : void
리턴 void

GenerateSha256HashString() 공개 정적인 메소드

Generate a SHA256 Hash string from the originInput.
public static GenerateSha256HashString ( string originInput ) : string
originInput string
리턴 string

IsMetricTermAccepted() 공개 메소드

public IsMetricTermAccepted ( ) : bool
리턴 bool

LogQoSEvent() 공개 메소드

public LogQoSEvent ( AzurePSQoSEvent qos, bool isUsageMetricEnabled, bool isErrorMetricEnabled ) : void
qos AzurePSQoSEvent
isUsageMetricEnabled bool
isErrorMetricEnabled bool
리턴 void

MetricHelper() 공개 메소드

public MetricHelper ( ) : Microsoft.ApplicationInsights
리턴 Microsoft.ApplicationInsights