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>