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