Udostępnij za pośrednictwem


ExtensibilityDiagnosticEventManager.CreateAsync Method

Definition

Initializes a new instance of the ExtensibilityDiagnosticEventManager class.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventManager> CreateAsync (System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.Internal.IExtensibilityDiagnosticEventReporter> reporters, Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration diagnosticsLogger, System.Threading.CancellationToken cancellationToken);
static member CreateAsync : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.Internal.IExtensibilityDiagnosticEventReporter> * Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventManager>
Public Shared Function CreateAsync (reporters As IReadOnlyList(Of IExtensibilityDiagnosticEventReporter), diagnosticsLogger As ExtensibilityDiagnosticsLoggerConfiguration, cancellationToken As CancellationToken) As Task(Of ExtensibilityDiagnosticEventManager)

Parameters

diagnosticsLogger
ExtensibilityDiagnosticsLoggerConfiguration

The configuration object used to log diagnostics.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A new instance of ExtensibilityDiagnosticEventManager.

Applies to