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