2 types derived from MsmqQueue
System.ServiceModel (2)
System\ServiceModel\Channels\MsmqDefaultLockingQueue.cs (1)
15
class MsmqDefaultLockingQueue :
MsmqQueue
, ILockingQueue
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (1)
15
class MsmqSubqueueLockingQueue :
MsmqQueue
, ILockingQueue
15 instantiations of MsmqQueue
System.ServiceModel (15)
System\ServiceModel\Channels\Msmq.cs (1)
102
return new
MsmqQueue
(receiver.MsmqReceiveParameters.AddressTranslator.UriToFormatName(receiver.ListenUri), UnsafeNativeMethods.MQ_RECEIVE_ACCESS);
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (4)
61
this.mainQueueForMove = new
MsmqQueue
(this.mainQueueName, UnsafeNativeMethods.MQ_MOVE_ACCESS);
63
this.poisonQueue = new
MsmqQueue
(this.poisonQueueName, UnsafeNativeMethods.MQ_MOVE_ACCESS);
64
this.retryQueueForMove = new
MsmqQueue
(this.retryQueueName, UnsafeNativeMethods.MQ_MOVE_ACCESS);
65
this.retryQueueForPeek = new
MsmqQueue
(this.retryQueueName, UnsafeNativeMethods.MQ_RECEIVE_ACCESS);
System\ServiceModel\Channels\MsmqOutputChannel.cs (1)
96
this.msmqQueue = new
MsmqQueue
(this.factory.AddressTranslator.UriToFormatName(this.RemoteAddress.Uri),
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
164
this.msmqQueue = new
MsmqQueue
(this.Factory.AddressTranslator.UriToFormatName(this.RemoteAddress.Uri),
System\ServiceModel\Channels\MsmqQueue.cs (1)
231
using (MsmqQueue msmqQueue = new
MsmqQueue
(formatName, accessType))
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (6)
47
this.lockQueueForReceive = new
MsmqQueue
(this.lockQueueName, UnsafeNativeMethods.MQ_RECEIVE_ACCESS, UnsafeNativeMethods.MQ_DENY_RECEIVE_SHARE);
48
this.lockQueueForMove = new
MsmqQueue
(this.lockQueueName, UnsafeNativeMethods.MQ_MOVE_ACCESS);
49
this.mainQueueForMove = new
MsmqQueue
(this.formatName, UnsafeNativeMethods.MQ_MOVE_ACCESS);
118
this.lockQueueForReceive = new
MsmqQueue
(this.lockQueueName, UnsafeNativeMethods.MQ_RECEIVE_ACCESS, UnsafeNativeMethods.MQ_DENY_RECEIVE_SHARE);
119
this.lockQueueForMove = new
MsmqQueue
(this.lockQueueName, UnsafeNativeMethods.MQ_MOVE_ACCESS);
300
lockQueue = new
MsmqQueue
(formatName, accessMode, shareMode);
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (1)
75
this.msmqQueue = new
MsmqQueue
(this.factory.AddressTranslator.UriToFormatName(this.RemoteAddress.Uri), UnsafeNativeMethods.MQ_SEND_ACCESS);
63 references to MsmqQueue
System.ServiceModel (63)
System\ServiceModel\Channels\Msmq.cs (2)
23
MsmqQueue
.GetMsmqInformation(ref version, ref activeDirectoryEnabled);
87
internal static
MsmqQueue
CreateMsmqQueue(MsmqReceiveHelper receiver)
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (10)
12
MsmqQueue
mainQueue;
13
MsmqQueue
mainQueueForMove;
14
MsmqQueue
retryQueueForPeek;
15
MsmqQueue
retryQueueForMove;
16
MsmqQueue
poisonQueue;
17
MsmqQueue
lockQueueForReceive;
219
private void InternalFinalDisposition(
MsmqQueue
disposeFromQueue, MsmqMessageProperty messageProperty)
275
MsmqQueue
.ReceiveResult receiveResult =
MsmqQueue
.ReceiveResult.Unknown;
285
if (
MsmqQueue
.ReceiveResult.MessageReceived == receiveResult)
System\ServiceModel\Channels\MsmqOutputChannel.cs (1)
13
MsmqQueue
msmqQueue;
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
16
MsmqQueue
msmqQueue;
System\ServiceModel\Channels\MsmqQueue.cs (4)
231
using (
MsmqQueue
msmqQueue = new MsmqQueue(formatName, accessType))
356
public MoveReceiveResult TryMoveMessage(long lookupId,
MsmqQueue
destinationQueue, MsmqTransactionMode transactionMode)
753
MsmqQueue
msmqQueue;
764
public TryReceiveAsyncResult(
MsmqQueue
msmqQueue, NativeMsmqMessage message, TimeSpan timeout,
System\ServiceModel\Channels\MsmqReceiveContextLockManager.cs (3)
19
MsmqQueue
queue;
26
public MsmqReceiveContextLockManager(MsmqReceiveContextSettings receiveContextSettings,
MsmqQueue
queue)
41
public
MsmqQueue
Queue
System\ServiceModel\Channels\MsmqReceiveHelper.cs (25)
54
MsmqQueue
queue;
112
internal
MsmqQueue
Queue
188
internal void DropOrRejectReceivedMessage(
MsmqQueue
queue, MsmqMessageProperty messageProperty, bool reject)
194
MsmqQueue
.MoveReceiveResult result =
MsmqQueue
.MoveReceiveResult.Unknown;
202
if (
MsmqQueue
.MoveReceiveResult.Succeeded == result && reject)
208
if (result ==
MsmqQueue
.MoveReceiveResult.Succeeded)
212
if (result !=
MsmqQueue
.MoveReceiveResult.MessageLockedUnderTransaction)
224
internal static void MoveReceivedMessage(
MsmqQueue
queueFrom,
MsmqQueue
queueTo, long lookupId)
229
MsmqQueue
.MoveReceiveResult result =
MsmqQueue
.MoveReceiveResult.Unknown;
234
if (result !=
MsmqQueue
.MoveReceiveResult.MessageLockedUnderTransaction)
250
return (
MsmqQueue
.ReceiveResult.Timeout != this.queue.TryPeek(message, timeout));
268
MsmqQueue
.ReceiveResult receiveResult = this.Queue.TryReceive(msmqMessage, timeout, transactionMode);
269
if (
MsmqQueue
.ReceiveResult.OperationCancelled == receiveResult)
271
if (
MsmqQueue
.ReceiveResult.Timeout == receiveResult)
383
MsmqQueue
.ReceiveResult receiveResult;
423
if (
MsmqQueue
.ReceiveResult.Timeout == asyncResult.receiveResult)
425
else if (
MsmqQueue
.ReceiveResult.OperationCancelled == asyncResult.receiveResult)
438
MsmqQueue
msmqQueue;
443
public WaitForMessageAsyncResult(
MsmqQueue
msmqQueue, TimeSpan timeout, AsyncCallback callback, object state)
459
MsmqQueue
.ReceiveResult receiveResult =
MsmqQueue
.ReceiveResult.Unknown;
472
this.successResult = receiveResult !=
MsmqQueue
.ReceiveResult.Timeout;
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (10)
19
MsmqQueue
mainQueueForMove;
20
MsmqQueue
lockQueueForMove;
21
MsmqQueue
lockQueueForReceive;
68
public
MsmqQueue
LockQueueForReceive
198
if (receiveResult !=
MsmqQueue
.MoveReceiveResult.MessageLockedUnderTransaction)
223
if (moveResult !=
MsmqQueue
.MoveReceiveResult.MessageLockedUnderTransaction)
276
MsmqQueue
collectQueue;
288
private bool TryOpenLockQueueForCollection(string subqueueName, out
MsmqQueue
lockQueue)
298
if (
MsmqQueue
.IsQueueOpenable(formatName, accessMode, shareMode, out error))
328
private void CollectLocks(
MsmqQueue
lockQueue)
System\ServiceModel\Channels\MsmqVerifier.cs (6)
47
if (!
MsmqQueue
.IsWriteable(dlqFormatName))
51
if (!
MsmqQueue
.TryGetIsTransactional(dlqFormatName, out isQueueTx) || !isQueueTx)
87
if (!
MsmqQueue
.IsReadable(formatName, out msmqException))
95
knownTxStatus =
MsmqQueue
.TryGetIsTransactional(formatName, out isQueueTx);
99
knownTxStatus =
MsmqQueue
.TryGetIsTransactional(MsmqUri.ActiveDirectoryAddressTranslator.UriToFormatName(listenUri), out isQueueTx);
127
if (!
MsmqQueue
.IsMoveable(formatName + ";retry"))
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (1)
16
MsmqQueue
msmqQueue;