Udostępnij za pośrednictwem


IExtensibilityDiagnosticsService.ReportDiagnosticMessageAsync Method

Definition

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
ExtensibilityDiagnosticMessageMetadata

Metadata related to the message being logged.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the invocation.

Applies to