ExtensibilityDiagnosticManager<T>.ReportEventAsync 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 the instance of an event with the IExtensibilityDiagnosticsService.
public System.Threading.Tasks.Task ReportEventAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventContext eventContext, System.Threading.CancellationToken cancellationToken);
abstract member ReportEventAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ReportEventAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportEventAsync (eventContext As ExtensibilityDiagnosticEventContext, cancellationToken As CancellationToken) As Task
Parameters
- eventContext
- ExtensibilityDiagnosticEventContext
The context related to the event instance.
- cancellationToken
- CancellationToken
A token to signal cancellation.
Returns
A task to track the async work.