Udostępnij za pośrednictwem


IExtensibilityDiagnosticEventManager.ReportErrorAsync Method

Definition

Report an error with the IExtensibilityDiagnosticsService.

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

Parameters

errorInfo
ExtensibilityDiagnosticErrorInfo

Information about the error.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task to track the async work.

Applies to