Partager via


ExtensibilityDiagnosticsLoggerConfiguration.ReportExtensionItemDiscoveredAsync Method

Definition

Report that an extension item was discovered.

public System.Threading.Tasks.Task ReportExtensionItemDiscoveredAsync (Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticAddedExtensionItemMetadata metadata, System.Threading.CancellationToken cancellationToken);
member this.ReportExtensionItemDiscoveredAsync : Microsoft.VisualStudio.Shell.Internal.ExtensibilityDiagnosticAddedExtensionItemMetadata * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportExtensionItemDiscoveredAsync (metadata As ExtensibilityDiagnosticAddedExtensionItemMetadata, cancellationToken As CancellationToken) As Task

Parameters

metadata
ExtensibilityDiagnosticAddedExtensionItemMetadata

The metadata properties of the extension item.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the invocation.

Applies to