IExtensibilityDiagnosticsService.ReportDiagnosticMessageAsync 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.
Report a message of varying severity to the extensibility diagnostics service.
public System.Threading.Tasks.Task ReportDiagnosticMessageAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticMessageMetadata metadata, System.Threading.CancellationToken cancellationToken);
abstract member ReportDiagnosticMessageAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticMessageMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportDiagnosticMessageAsync (metadata As ExtensibilityDiagnosticMessageMetadata, cancellationToken As CancellationToken) As Task
Parameters
Metadata related to the message being logged.
- cancellationToken
- CancellationToken
A token to signal cancellation.
Returns
A task tracking the invocation.