ExtensionSectionMetadataManager.ConfigureDiagnosticsAsync 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.
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.