ExtensionSectionMetadataManager.DiscoverRegistrationsAsync 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.
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
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.