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

实现

适用于