Freigeben über


ExtensibilityDiagnosticReporter<TItem,VConfiguration>.GetMetadataForItemAsync Method

Definition

Gets the values of the registered properties from the supplied item.

protected System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,string>> GetMetadataForItemAsync (TItem item, System.Threading.CancellationToken cancellationToken);
member this.GetMetadataForItemAsync : 'Item * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, string>>
Protected Function GetMetadataForItemAsync (item As TItem, cancellationToken As CancellationToken) As Task(Of IReadOnlyDictionary(Of String, String))

Parameters

item
TItem

The item to get the properties of.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

The set of metadata to log as diagnostics.

Applies to