共用方式為


Grain<TGrainState>.Participate(IGrainLifecycle) 方法

定義

將提供的觀察者新增為生命週期中的參與者。

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

實作

適用於