Udostępnij za pośrednictwem


ExtensibilityDiagnosticManager<T>.ReportExtensionItemRemovedAsync Method

Definition

Removes an item from the IExtensibilityDiagnosticsService.

public System.Threading.Tasks.Task ReportExtensionItemRemovedAsync (object item, System.Threading.CancellationToken cancellationToken);
abstract member ReportExtensionItemRemovedAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ReportExtensionItemRemovedAsync : obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReportExtensionItemRemovedAsync (item As Object, cancellationToken As CancellationToken) As Task

Parameters

item
Object

The item that was removed.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task to track the async work.

Implements

Exceptions

Thrown if item cannot be casted to T.

Applies to