共用方式為


AsyncServiceProviderInjection<TService,TInterface> 建構函式

定義

此建構函式僅供內部使用。 建立 AsyncServiceProviderInjection<TService,TInterface> 的執行個體。

public AsyncServiceProviderInjection(Microsoft.VisualStudio.Shell.IAsyncServiceProvider2 asyncServiceProvider);
new Microsoft.VisualStudio.Extensibility.VSSdkCompatibility.AsyncServiceProviderInjection<'Service, 'Interface (requires 'Interface : null)> : Microsoft.VisualStudio.Shell.IAsyncServiceProvider2 -> Microsoft.VisualStudio.Extensibility.VSSdkCompatibility.AsyncServiceProviderInjection<'Service, 'Interface (requires 'Interface : null)>
Public Sub New (asyncServiceProvider As IAsyncServiceProvider2)

參數

asyncServiceProvider
IAsyncServiceProvider2

異步服務提供者。

適用於