IExtensibilityDiagnosticsService.ReportErrorAsync 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 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.