49 references to MessageQueueErrorCode
System.Messaging (28)
System\Messaging\MessageEnumerator.cs (2)
170
if (status == (int)
MessageQueueErrorCode
.IOTimeout)
176
else if (status == (int)
MessageQueueErrorCode
.IllegalCursorAction)
System\Messaging\MessageQueue.cs (22)
2222
if (value == (int)
MessageQueueErrorCode
.BufferOverflow ||
2223
value == (int)
MessageQueueErrorCode
.LabelBufferTooSmall ||
2224
value == (int)
MessageQueueErrorCode
.ProviderNameBufferTooSmall ||
2225
value == (int)
MessageQueueErrorCode
.SenderCertificateBufferTooSmall ||
2226
value == (int)
MessageQueueErrorCode
.SenderIdBufferTooSmall ||
2227
value == (int)
MessageQueueErrorCode
.SecurityDescriptorBufferTooSmall ||
2228
value == (int)
MessageQueueErrorCode
.SignatureBufferTooSmall ||
2229
value == (int)
MessageQueueErrorCode
.SymmetricKeyBufferTooSmall ||
2230
value == (int)
MessageQueueErrorCode
.UserBufferTooSmall ||
2231
value == (int)
MessageQueueErrorCode
.FormatNameBufferTooSmall)
2685
throw new MessageQueueException((int)
MessageQueueErrorCode
.IOTimeout);
3003
if (status == (int)
MessageQueueErrorCode
.MessageNotFound)
3365
else if (status == (int)
MessageQueueErrorCode
.IllegalQueuePathName)
3994
if (status == (int)
MessageQueueErrorCode
.StaleHandle || status == (int)
MessageQueueErrorCode
.QueueDeleted)
4023
if (status == (int)
MessageQueueErrorCode
.StaleHandle || status == (int)
MessageQueueErrorCode
.QueueDeleted)
4035
if (status == (int)
MessageQueueErrorCode
.StaleHandle || status == (int)
MessageQueueErrorCode
.QueueDeleted)
4131
return (receiveResult == (int)
MessageQueueErrorCode
.StaleHandle || //both qm and ac restarted
4132
receiveResult == (int)
MessageQueueErrorCode
.InvalidHandle || //get this if ac is not restarted
4133
receiveResult == (int)
MessageQueueErrorCode
.InvalidParameter); // get this on w2k
System\Messaging\MessageQueueException.cs (2)
53
public
MessageQueueErrorCode
MessageQueueErrorCode
57
return (
MessageQueueErrorCode
)nativeErrorCode;
System\Messaging\QueueAccessMode.cs (2)
91
throw new MessageQueueException((int)
MessageQueueErrorCode
.AccessDenied);
103
throw new MessageQueueException((int)
MessageQueueErrorCode
.AccessDenied);
System.Workflow.Runtime (19)
QueueException.cs (3)
14
MessageQueueErrorCode
errorCode;
16
public QueueException(string message,
MessageQueueErrorCode
errorCode) : base(message)
27
public
MessageQueueErrorCode
ErrorCode
WorkflowQueuingService.cs (16)
182
throw new QueueException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueNotEnabled, queueName),
MessageQueueErrorCode
.QueueNotAvailable);
214
throw new QueueException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueNotEnabled, queueName),
MessageQueueErrorCode
.QueueNotAvailable);
250
object[] args = new object[] { System.Messaging.
MessageQueueErrorCode
.MessageNotFound, queueName };
253
throw new QueueException(message,
MessageQueueErrorCode
.MessageNotFound);
273
object[] args = new object[] { System.Messaging.
MessageQueueErrorCode
.MessageNotFound, queueName };
276
throw new QueueException(message,
MessageQueueErrorCode
.MessageNotFound);
405
throw new QueueException(message,
MessageQueueErrorCode
.QueueNotAvailable);
418
new object[] { System.Messaging.
MessageQueueErrorCode
.QueueExists, queueID };
422
throw new QueueException(message,
MessageQueueErrorCode
.QueueExists);
442
new object[] { System.Messaging.
MessageQueueErrorCode
.QueueNotFound, queueID };
446
throw new QueueException(message,
MessageQueueErrorCode
.QueueNotFound);
488
throw new QueueException(message,
MessageQueueErrorCode
.QueueNotAvailable);
636
object[] msgArgs = new object[] { System.Messaging.
MessageQueueErrorCode
.QueueNotFound, queueName };
638
throw new QueueException(message,
MessageQueueErrorCode
.QueueNotAvailable);
653
object[] msgArgs = new object[] { System.Messaging.
MessageQueueErrorCode
.QueueNotFound, queueName };
655
throw new QueueException(message,
MessageQueueErrorCode
.QueueNotAvailable);
System.WorkflowServices (2)
System\ServiceModel\Dispatcher\WorkflowOperationFault.cs (2)
19
public WorkflowOperationFault(
MessageQueueErrorCode
errorCode)
21
if (errorCode ==
MessageQueueErrorCode
.QueueNotAvailable)