PersistentStreamProvider.ParticipateIn<TLifecycle> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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>