Udostępnij za pośrednictwem


IExtensibilityDiagnosticsService.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);
abstract member 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 of the extension item that was discovered.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the invocation.

Applies to