다음을 통해 공유


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)

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

적용 대상