Delen via


MetricHelper Class

Definition

public class MetricHelper
type MetricHelper = class
Public Class MetricHelper
Inheritance
MetricHelper

Constructors

MetricHelper(AzurePSDataCollectionProfile)
MetricHelper(INetworkHelper)

Fields

_networkHelper

Properties

HashMacAddress
InstallationId
InternalCalledCmdlets
PSVersion
SessionId
TelemetryId

Methods

AddDefaultTelemetryClient()
AddTelemetryClient(TelemetryClient)
AppendInternalCalledCmdlet(String)
ClearTelemetryContext()
FlushMetric()
GenerateSha256HashString(String)
IsCalledByUser()
IsMetricTermAccepted()
LogCustomEvent<T>(String, T, Boolean)
LogQoSEvent(AzurePSQoSEvent, Boolean, Boolean)
SerializeCustomEventPayload<T>(T)
SetPSHost(PSHost)

Applies to