IExtensibilityDiagnosticsService.ReportErrorAsync Method

Definition

Report an error.

public System.Threading.Tasks.Task ReportErrorAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticErrorMetadata metadata, System.Threading.CancellationToken cancellationToken);
abstract member ReportErrorAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticErrorMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportErrorAsync (metadata As ExtensibilityDiagnosticErrorMetadata, cancellationToken As CancellationToken) As Task

Parameters

metadata
ExtensibilityDiagnosticErrorMetadata

Metadata related to the error message being reported.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the invocation.

Applies to