ExtensibilityDiagnosticEventReporter<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 an 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
An object containing all of the relevant metadata related to the event.
- cancellationToken
- CancellationToken
A token to signal cancellation.
Returns
A task tracking the async work.