TelemetryService.InitializeEtwProvider(ITelemetryEtwProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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