ExtensionSectionMetadataManager.ConfigureDiagnosticsAsync Method

Definition

Invoked when a deserializer is initialized to give it a chance to configure its diagnostics manager.

public virtual System.Threading.Tasks.Task ConfigureDiagnosticsAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration diagnostics, System.Threading.CancellationToken cancellationToken);
abstract member ConfigureDiagnosticsAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ConfigureDiagnosticsAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticsLoggerConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ConfigureDiagnosticsAsync (diagnostics As ExtensibilityDiagnosticsLoggerConfiguration, cancellationToken As CancellationToken) As Task

Parameters

diagnostics
ExtensibilityDiagnosticsLoggerConfiguration

Used to get configuration information about the current state of extensibility diagnostics.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the work.

Applies to