Udostępnij za pośrednictwem


ExtensibilityDiagnosticEventReporter<T>.ReportEventAsync Method

Definition

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.

Implements

Applies to