1 type derived from CursorHandle
System.Messaging (1)
System\Messaging\Interop\SafeHandles.cs (1)
73
sealed class InvalidCursorHandle :
CursorHandle
34 references to CursorHandle
System.Messaging (34)
System\Messaging\Cursor.cs (3)
15
private
CursorHandle
handle;
21
CursorHandle
result;
30
internal
CursorHandle
Handle
System\Messaging\Interop\SafeHandles.cs (1)
52
public static readonly
CursorHandle
NullHandle = new InvalidCursorHandle();
System\Messaging\Interop\SafeNativeMethods.cs (1)
73
public static extern int MQCreateCursor(MessageQueueHandle handle, out
CursorHandle
cursorHandle);
System\Messaging\Interop\UnsafeNativeMethods.cs (2)
48
SafeNativeMethods.ReceiveCallback receiveCallback,
CursorHandle
cursorHandle, IntPtr transaction);
52
SafeNativeMethods.ReceiveCallback receiveCallback,
CursorHandle
cursorHandle, ITransaction transaction);
System\Messaging\MessageEnumerator.cs (4)
28
private
CursorHandle
handle = System.Messaging.Interop.
CursorHandle
.NullHandle;
78
internal
CursorHandle
Handle
89
CursorHandle
result;
System\Messaging\MessageQueue.cs (23)
1457
return ReceiveAsync(InfiniteTimeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_PEEK_CURRENT, null, null);
1470
return ReceiveAsync(timeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_PEEK_CURRENT, null, null);
1485
return ReceiveAsync(timeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_PEEK_CURRENT, null, stateObject);
1499
return ReceiveAsync(timeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_PEEK_CURRENT, callback, stateObject);
1524
return ReceiveAsync(InfiniteTimeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_RECEIVE, null, null);
1538
return ReceiveAsync(timeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_RECEIVE, null, null);
1552
return ReceiveAsync(timeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_RECEIVE, null, stateObject);
1565
return ReceiveAsync(timeout,
CursorHandle
.NullHandle, NativeMethods.QUEUE_ACTION_RECEIVE, callback, stateObject);
2275
return ReceiveCurrent(InfiniteTimeout, NativeMethods.QUEUE_ACTION_PEEK_CURRENT,
CursorHandle
.NullHandle, MessageReadPropertyFilter, null, MessageQueueTransactionType.None);
2290
return ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_PEEK_CURRENT,
CursorHandle
.NullHandle, MessageReadPropertyFilter, null, MessageQueueTransactionType.None);
2398
return ReceiveCurrent(InfiniteTimeout, NativeMethods.QUEUE_ACTION_RECEIVE,
CursorHandle
.NullHandle, MessageReadPropertyFilter, null, MessageQueueTransactionType.None);
2414
return ReceiveCurrent(InfiniteTimeout, NativeMethods.QUEUE_ACTION_RECEIVE,
CursorHandle
.NullHandle, MessageReadPropertyFilter, transaction, MessageQueueTransactionType.None);
2426
return ReceiveCurrent(InfiniteTimeout, NativeMethods.QUEUE_ACTION_RECEIVE,
CursorHandle
.NullHandle, MessageReadPropertyFilter, null, transactionType);
2440
return ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_RECEIVE,
CursorHandle
.NullHandle, MessageReadPropertyFilter, null, MessageQueueTransactionType.None);
2466
return ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_RECEIVE,
CursorHandle
.NullHandle, MessageReadPropertyFilter, transaction, MessageQueueTransactionType.None);
2479
return ReceiveCurrent(timeout, NativeMethods.QUEUE_ACTION_RECEIVE,
CursorHandle
.NullHandle, MessageReadPropertyFilter, null, transactionType);
2509
private unsafe IAsyncResult ReceiveAsync(TimeSpan timeout,
CursorHandle
cursorHandle, int action, AsyncCallback callback, object stateObject)
2604
CursorHandle
cursorHandle = null;
3016
internal unsafe Message ReceiveCurrent(TimeSpan timeout, int action,
CursorHandle
cursor, MessagePropertyFilter filter, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
3682
private
CursorHandle
cursorHandle;
3691
internal unsafe AsynchronousRequest(MessageQueue owner, uint timeout,
CursorHandle
cursorHandle, int action, bool useThreadPool, object asyncState, AsyncCallback callback)
4044
SafeNativeMethods.ReceiveCallback receiveCallback,
CursorHandle
cursorHandle, IntPtr transaction)
4074
SafeNativeMethods.ReceiveCallback receiveCallback,
CursorHandle
cursorHandle, ITransaction transaction)