ExtensibilityDiagnosticsLoggerConfiguration.ReportErrorAsync Method

Definition

Report an error.

public System.Threading.Tasks.Task ReportErrorAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticErrorMetadata metadata, System.Threading.CancellationToken cancellationToken);
member this.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

The metadata of the error being logged.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the invocation.

Applies to