Grain<TGrainState>.Participate(IGrainLifecycle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將提供的觀察者新增為生命週期中的參與者。
public override void Participate (Orleans.Runtime.IGrainLifecycle lifecycle);
public virtual void Participate (Orleans.Runtime.IGrainLifecycle lifecycle);
override this.Participate : Orleans.Runtime.IGrainLifecycle -> unit
abstract member Participate : Orleans.Runtime.IGrainLifecycle -> unit
override this.Participate : Orleans.Runtime.IGrainLifecycle -> unit
Public Overrides Sub Participate (lifecycle As IGrainLifecycle)
Public Overridable Sub Participate (lifecycle As IGrainLifecycle)
參數
- lifecycle
- IGrainLifecycle