MessageQueueEnumerator.LocatorHandle MessageQueueEnumerator.LocatorHandle MessageQueueEnumerator.LocatorHandle MessageQueueEnumerator.LocatorHandle Property

定義

取得用來尋找網路中佇列的原生 (Native) 訊息佇列控制代碼。Gets the native Message Queuing handle used to locate queues in a network.

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

屬性值

目前佇列的原生控制代碼。The native handle to the current queue.

例外狀況

控制代碼不存在。The handle does not exist.

呼叫程式碼沒有瀏覽權限。The calling code does not have browse permissions.

備註

當您不再需要這MessageQueueEnumerator執行個體,呼叫Close來釋放資源的這個控制代碼。When you no longer need this MessageQueueEnumerator instance, call Close to free this handle to the resource.

適用於

另請參閱