ExtensibilityDiagnosticManager<T>.ReportExtensionItemRemovedAsync 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.
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
.