ExtensibilityDiagnosticEventManager.CreateAsync 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.
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
The set of IExtensibilityDiagnosticEventReporter to be registered.
- diagnosticsLogger
- ExtensibilityDiagnosticsLoggerConfiguration
The configuration object used to log diagnostics.
- cancellationToken
- CancellationToken
A token to signal cancellation.
Returns
A new instance of ExtensibilityDiagnosticEventManager.