Freigeben über


ExtensibilityDiagnosticsLoggerConfiguration.ReportEventAsync Method

Definition

Report that an extension item was discovered.

public System.Threading.Tasks.Task ReportEventAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticEventMetadata metadata, System.Threading.CancellationToken cancellationToken);
member this.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