常數

這是一個指定事件的保留事件 ID。
OMEventAnyEventId

其定義方式如下:
const short OMEventAnyEventId = -4;

OMCancelledEventId

這是一個指定所取消事件(未傳送至其目的地的事件)的保留事件 ID。

其定義方式如下:
const short OMEventCancelledEventId = -3;

OMEventNullId

這是一個用來耗用空值轉移的保留事件 ID。其定義方式如下:
const short OMEventNullId = -1;

OMEventStartBehaviorId

這是一個用於 OMStartBehavior 事件的保留事件 ID。

其定義方式如下:
const short OMEventStartBehaviorId = -5;

OMEventOXEndEventId

這是一個用來在刪除使用架構 DLL 的 COM 伺服器時,完整關閉架構的保留事件 ID。

其定義方式如下:
const short OMEventOXFEndEventId = -6;

OMEventTimeId

這是一個用於逾時的保留事件 ID。

其定義方式如下:
const short OMEventTimeoutId = -2;


回饋