Udostępnij za pośrednictwem


ExtensionSectionMetadataManager.DiscoverRegistrationsAsync Method

Definition

Deserializes newly discovered extension metadata into concrete types.

public System.Threading.Tasks.Task DiscoverRegistrationsAsync (System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadataHeader> added, System.Diagnostics.TraceSource traceSource, System.Threading.CancellationToken cancellationToken);
member this.DiscoverRegistrationsAsync : System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.Extensibility.ExtensionMetadataHeader> * System.Diagnostics.TraceSource * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DiscoverRegistrationsAsync (added As IReadOnlyCollection(Of ExtensionMetadataHeader), traceSource As TraceSource, cancellationToken As CancellationToken) As Task

Parameters

added
IReadOnlyCollection<ExtensionMetadataHeader>

The set fo extension metadata that was discovered.

traceSource
TraceSource

A TraceSource used for logging.

cancellationToken
CancellationToken

A token to signal cancellation.

Returns

A task tracking the work.

Applies to