ExtensibilityDiagnosticReporter<TItem,VConfiguration>.GetMetadataForItemAsync 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.
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.