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