다음을 통해 공유


TelemetryService.InitializeEtwProvider(ITelemetryEtwProvider) Method

Definition

Initialized the host specific ETW provider instance to be used by the telemetry service This method must be called before any telemetry APIs are used otherwise default provider will be used and the subsequent InitializeEtwProvider calls will throw.

public:
 static void InitializeEtwProvider(Microsoft::VisualStudio::Telemetry::ITelemetryEtwProvider ^ provider);
public static void InitializeEtwProvider (Microsoft.VisualStudio.Telemetry.ITelemetryEtwProvider provider);
static member InitializeEtwProvider : Microsoft.VisualStudio.Telemetry.ITelemetryEtwProvider -> unit
Public Shared Sub InitializeEtwProvider (provider As ITelemetryEtwProvider)

Parameters

provider
ITelemetryEtwProvider

Provider instance to be used

Applies to