IExtensibilityDiagnosticsService.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 that an event occurred.
public System.Threading.Tasks.Task ReportEventAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventMetadata metadata, System.Threading.CancellationToken cancellationToken);
abstract member ReportEventAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportEventAsync (metadata As ExtensibilityDiagnosticEventMetadata, cancellationToken As CancellationToken) As Task
Parameters
- metadata
- ExtensibilityDiagnosticEventMetadata
The metadata for the instance of the event.
- cancellationToken
- CancellationToken
A token to signal cancellation.
Returns
A task tracking the invocation.