次の方法で共有


MessageQueueEnumerator.LocatorHandle プロパティ

ネットワークでキューの位置を特定するのに使われるネイティブなメッセージ キュー ハンドルを取得します。

Public ReadOnly Property LocatorHandle As IntPtr
[C#]
public IntPtr LocatorHandle {get;}
[C++]
public: __property IntPtr get_LocatorHandle();
[JScript]
public function get LocatorHandle() : IntPtr;

プロパティ値

現在のキューへのネイティブ ハンドル。

例外

例外の種類 条件
MessageQueueException ハンドルが存在しません。
SecurityException 呼び出しコードに参照のアクセス許可がありません。

解説

この MessageQueueEnumerator インスタンスが不要になったら、 Close を呼び出してリソースへのハンドルを解放してください。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

MessageQueueEnumerator クラス | MessageQueueEnumerator メンバ | System.Messaging 名前空間 | Current