ExtensibilityDiagnosticsLoggerConfiguration.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);
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.