Exemplo n.º 1
0
 public unsafe static extern int ReceiveMessageByLookupId(
     QueueHandle handle,
     long lookupId,
     LookupAction action,
     MQPROPS properties,
     NativeOverlapped *overlapped,
     ReceiveCallback receiveCallback,
     ITransaction transaction); //MSMQ internal transaction
Exemplo n.º 2
0
 public unsafe static extern int ReceiveMessage(
     QueueHandle handle,
     uint timeout,
     ReadAction action,
     MQPROPS properties,
     NativeOverlapped *overlapped,
     ReceiveCallback receiveCallback,
     CursorHandle cursorHandle,
     ITransaction transaction); //MSMQ internal transaction
Exemplo n.º 3
0
 public QueueAsyncRequest(Message message, HashSet <QueueAsyncRequest> outstanding, uint timeoutMS, QueueHandle handle, ReadAction action, CursorHandle cursor)
 {
     Contract.Requires(cursor != null);
     this.action    = action;
     this.handle    = handle;
     this.timeoutMS = timeoutMS;
     Message        = message;
     Props          = message.Props.Allocate();
     Tcs            = new TaskCompletionSource <Message>();
     Outstanding    = outstanding;
     this.cursor    = cursor;
 }
Exemplo n.º 4
0
 public static extern int PurgeQueue(QueueHandle sourceQueue);
Exemplo n.º 5
0
 public static extern int MoveMessage(QueueHandle sourceQueue, QueueHandle targetQueue, long lookupId, ITransaction transaction); //MSMQ internal transaction
Exemplo n.º 6
0
 public static extern int MoveMessage(QueueHandle sourceQueue, QueueHandle targetQueue, long lookupId, IntPtr transaction);
Exemplo n.º 7
0
 public static extern int MarkMessageRejected(QueueHandle handle, long lookupId);
Exemplo n.º 8
0
 public static extern int CreateCursor(QueueHandle handle, out CursorHandle cursorHandle);
Exemplo n.º 9
0
 public static extern int HandleToFormatName(QueueHandle handle, StringBuilder formatName, ref int count);
Exemplo n.º 10
0
 public static extern int OpenQueue(string formatName, QueueAccessMode access, QueueShareReceive shareMode, out QueueHandle handle);
Exemplo n.º 11
0
 public static extern int SendMessage(QueueHandle handle, MQPROPS properties, ITransaction transaction); //MSMQ internal transaction
Exemplo n.º 12
0
 public static extern int SendMessage(QueueHandle handle, MQPROPS properties, IntPtr transaction);