1 type derived from MessageQueueHandle
System.Messaging (1)
System\Messaging\Interop\SafeHandles.cs (1)
38sealed class InvalidMessageQueueHandle : MessageQueueHandle
24 references to MessageQueueHandle
System.Messaging (24)
System\Messaging\Interop\SafeHandles.cs (1)
16public static readonly MessageQueueHandle InvalidHandle = new InvalidMessageQueueHandle();
System\Messaging\Interop\SafeNativeMethods.cs (1)
73public static extern int MQCreateCursor(MessageQueueHandle handle, out CursorHandle cursorHandle);
System\Messaging\Interop\UnsafeNativeMethods.cs (11)
25private static extern int IntMQOpenQueue(string formatName, int access, int shareMode, out MessageQueueHandle handle); 26public static int MQOpenQueue(string formatName, int access, int shareMode, out MessageQueueHandle handle) 39public static extern int MQSendMessage(MessageQueueHandle handle, MessagePropertyVariants.MQPROPS properties, IntPtr transaction); 43public static extern int MQSendMessage(MessageQueueHandle handle, MessagePropertyVariants.MQPROPS properties, ITransaction transaction); 47public unsafe static extern int MQReceiveMessage(MessageQueueHandle handle, uint timeout, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped* overlapped, 51public unsafe static extern int MQReceiveMessage(MessageQueueHandle handle, uint timeout, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped* overlapped, 56private unsafe static extern int IntMQReceiveMessageByLookupId(MessageQueueHandle handle, long lookupId, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped* overlapped, 59public unsafe static int MQReceiveMessageByLookupId(MessageQueueHandle handle, long lookupId, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped* overlapped, 74private unsafe static extern int IntMQReceiveMessageByLookupId(MessageQueueHandle handle, long lookupId, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped* overlapped, 77public unsafe static int MQReceiveMessageByLookupId(MessageQueueHandle handle, long lookupId, int action, MessagePropertyVariants.MQPROPS properties, NativeOverlapped* overlapped, 181public static extern int MQPurgeQueue(MessageQueueHandle handle);
System\Messaging\MessageQueue.cs (11)
2542MessageQueueHandle handle = MQInfo.ReadHandle; 4277private volatile MessageQueueHandle readHandle = MessageQueueHandle.InvalidHandle; 4280private volatile MessageQueueHandle writeHandle = MessageQueueHandle.InvalidHandle; 4324MessageQueueHandle result; 4355MessageQueueHandle result; 4377public MessageQueueHandle ReadHandle 4390MessageQueueHandle result; 4404public MessageQueueHandle WriteHandle 4417MessageQueueHandle result;