次の方法で共有


ExtensibilityDiagnosticManager<T>.ReportEventAsync Method

Definition

Report the 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

The context related to the event instance.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task to track the async work.

Implements

Applies to