共用方式為


JournaledGrain<TGrainState,TEventBase>.RaiseEvent<TEvent> 方法

定義

引發事件。

protected virtual void RaiseEvent<TEvent> (TEvent event) where TEvent : TEventBase;
abstract member RaiseEvent : 'Event -> unit
override this.RaiseEvent : 'Event -> unit
Protected Overridable Sub RaiseEvent(Of TEvent As TEventBase) (event As TEvent)

類型參數

TEvent

參數

event
TEvent

要引發的事件。

適用於