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