PersistentStreamProvider.ParticipateIn<TLifecycle> 方法

定义

public static Orleans.ILifecycleParticipant<TLifecycle> ParticipateIn<TLifecycle> (IServiceProvider serviceProvider, string name) where TLifecycle : Orleans.ILifecycleObservable;
static member ParticipateIn : IServiceProvider * string -> Orleans.ILifecycleParticipant<'Lifecycle (requires 'Lifecycle :> Orleans.ILifecycleObservable)> (requires 'Lifecycle :> Orleans.ILifecycleObservable)
Public Shared Function ParticipateIn(Of TLifecycle As ILifecycleObservable) (serviceProvider As IServiceProvider, name As String) As ILifecycleParticipant(Of TLifecycle)

类型参数

TLifecycle

参数

serviceProvider
IServiceProvider
name
String

返回

ILifecycleParticipant<TLifecycle>

适用于