ExtensibilityDiagnosticsLoggerConfiguration.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 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.