MessageQueueEnumerator.LocatorHandle 屬性

定義

取得用於網路中佇列的原生訊息佇列句柄。

public:
 property IntPtr LocatorHandle { IntPtr get(); };
public IntPtr LocatorHandle { get; }
member this.LocatorHandle : nativeint
Public ReadOnly Property LocatorHandle As IntPtr

屬性值

IntPtr

nativeint

目前隊列的原生 handle 。

例外狀況

這個把手不存在。

呼叫代碼沒有瀏覽權限。

備註

當你不再需要這個 MessageQueueEnumerator 實例時,呼叫 Close 將此 handle 釋放給資源。

適用於

另請參閱