Udostępnij za pośrednictwem


IExtensibilityDiagnosticsService.ReportEventAsync Method

Definition

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.

Applies to