KeyedService<TKey,TService,TInstance> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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)
Parameters
- key
- TKey
Applies to
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)
Parameters
- key
- TKey
- services
- IServiceProvider