MetadataServicesFactory.CreateExtensionMetadataServiceAsync 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.
Creates an instance of extension metadata service.
public System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.Extensibility.IExtensionMetadataService> CreateExtensionMetadataServiceAsync (System.Diagnostics.TraceSource logger, System.Threading.CancellationToken cancellationToken);
member this.CreateExtensionMetadataServiceAsync : System.Diagnostics.TraceSource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.Extensibility.IExtensionMetadataService>
Public Function CreateExtensionMetadataServiceAsync (logger As TraceSource, cancellationToken As CancellationToken) As Task(Of IExtensionMetadataService)
Parameters
- logger
- TraceSource
TraceSource instance to utilize for logging.
- cancellationToken
- CancellationToken
Cancellation token to monitor.
Returns
an instance of IExtensionMetadataService.