ExtensibilityDiagnosticManager<T>.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 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
override this.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.