KeyedService<TKey,TService,TInstance> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
KeyedService<TKey,TService,TInstance>(TKey) | |
KeyedService<TKey,TService,TInstance>(TKey, IServiceProvider) |
KeyedService<TKey,TService,TInstance>(TKey)
public KeyedService (TKey key);
new Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)> : 'Key -> Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)>
Public Sub New (key As TKey)
参数
- key
- TKey
适用于
KeyedService<TKey,TService,TInstance>(TKey, IServiceProvider)
- Source:
- KeyedService.cs
public KeyedService (TKey key, IServiceProvider services);
new Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)> : 'Key * IServiceProvider -> Orleans.Runtime.KeyedService<'Key, 'Service, #'Service (requires 'Service : null)>
Public Sub New (key As TKey, services As IServiceProvider)
参数
- key
- TKey
- services
- IServiceProvider