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
异步服务提供程序。