KeyedService<TKey,TService,TInstance> Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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)
- Исходный код:
- 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