AsyncServiceProviderInjection<TService,TInterface> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此建構函式僅供內部使用。 建立 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
異步服務提供者。