MessageQueueEnumerator.LocatorHandle 属性

定义

获取用于在网络中定位队列的本机消息队列句柄。

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

属性值

IntPtr

nativeint

当前队列的本机句柄。

例外

此句柄不存在。

调用代码没有浏览权限。

注解

如果不再需要此 MessageQueueEnumerator 实例,请调用 Close 以释放此资源句柄。

适用于

另请参阅