MessageQueueEnumerator.LocatorHandle 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得用於網路中佇列的原生訊息佇列句柄。
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 釋放給資源。