//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
using System.Diagnostics.CodeAnalysis;
namespace Experimental.System.Messaging
{
///
///
/// [To be supplied.]
///
[SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue")]
public enum MessageQueueErrorCode
{
///
///
Base = unchecked((int)0xC00E0000),
///
///
/// GenericError.
///
Generic = unchecked((int)0xC00E0001),
///
///
Property = unchecked((int)0xC00E0002),
///
///
/// The queue is not registered in the DS.
///
QueueNotFound = unchecked((int)0xC00E0003),
///
///
/// A queue with the same pathname is already registered.
///
QueueExists = unchecked((int)0xC00E0005),
///
///
InvalidParameter = unchecked((int)0xC00E0006),
///
///
InvalidHandle = unchecked((int)0xC00E0007),
///
///
/// The operation was cancelled before it could be completed.
///
OperationCanceled = unchecked((int)0xC00E0008),
///
///
/// Sharing violation. The queue is already opened for
/// exclusive receive.
///
SharingViolation = unchecked((int)0xC00E0009),
///
///
/// The Message Queues service is not available.
///
ServiceNotAvailable = unchecked((int)0xC00E000B),
///
///
/// The specified machine could not be found.
///
MachineNotFound = unchecked((int)0xC00E000D),
///
///
IllegalSort = unchecked((int)0xC00E0010),
///
///
/// The user is an illegal user.
///
IllegalUser = unchecked((int)0xC00E0011),
///
///
/// No connection with this site's controller(s).
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
NoDs = unchecked((int)0xC00E0013),
///
///
/// Illegal queue path name.
///
IllegalQueuePathName = unchecked((int)0xC00E0014),
///
///
/// Illegal property value.
///
IllegalPropertyValue = unchecked((int)0xC00E0018),
///
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
IllegalPropertyVt = unchecked((int)0xC00E0019),
///
///
BufferOverflow = unchecked((int)0xC00E001A),
///
///
/// The Receive or Peek Message timeout has expired.
///
IOTimeout = unchecked((int)0xC00E001B),
///
///
IllegalCursorAction = unchecked((int)0xC00E001C),
///
///
/// A message that is currently pointed at by the cursor has been removed from
/// the queue by another process or by another call to MQReceiveMessage
/// without the use of this cursor.
///
MessageAlreadyReceived = unchecked((int)0xC00E001D),
///
///
/// The given format name is invalid.
///
IllegalFormatName = unchecked((int)0xC00E001E),
///
///
FormatNameBufferTooSmall = unchecked((int)0xC00E001F),
///
///
/// The requested operation for the specified format name is not
/// supported (e.g., delete a direct queue format name).
///
UnsupportedFormatNameOperation = unchecked((int)0xC00E0020),
///
///
IllegalSecurityDescriptor = unchecked((int)0xC00E0021),
///
///
SenderIdBufferTooSmall = unchecked((int)0xC00E0022),
///
///
SecurityDescriptorBufferTooSmall = unchecked((int)0xC00E0023),
///
///
/// The RPC server can not impersonate the client application, hence security
/// credentials could not be verified.
///
CannotImpersonateClient = unchecked((int)0xC00E0024),
///
///
/// Access is denied.
///
AccessDenied = unchecked((int)0xC00E0025),
///
///
/// Client does not have the required privileges to perform the operation.
///
PrivilegeNotHeld = unchecked((int)0xC00E0026),
///
///
/// Insufficient resources to perform operation.
///
InsufficientResources = unchecked((int)0xC00E0027),
///
///
UserBufferTooSmall = unchecked((int)0xC00E0028),
///
///
/// Could not store a recoverable or journal message. Message was not sent.
///
MessageStorageFailed = unchecked((int)0xC00E002A),
///
///
SenderCertificateBufferTooSmall = unchecked((int)0xC00E002B),
///
///
/// The user certificate is not valid.
///
InvalidCertificate = unchecked((int)0xC00E002C),
///
///
/// The internal MSMQ certificate is corrupted.
///
CorruptedInternalCertificate = unchecked((int)0xC00E002D),
///
///
/// The internal MSMQ certificate for the user does not exist.
///
NoInternalUserCertificate = unchecked((int)0xC00E002F),
///
///
/// A cryptogrphic function has failed.
///
CorruptedSecurityData = unchecked((int)0xC00E0030),
///
///
/// The personal certificate store is corrupted.
///
CorruptedPersonalCertStore = unchecked((int)0xC00E0031),
///
///
/// The computer does not support encryption operations.
///
ComputerDoesNotSupportEncryption = unchecked((int)0xC00E0033),
///
///
BadSecurityContext = unchecked((int)0xC00E0035),
///
///
/// Could not get the SID information out of the thread token.
///
CouldNotGetUserSid = unchecked((int)0xC00E0036),
///
///
/// Could not get the account information for the user.
///
CouldNotGetAccountInfo = unchecked((int)0xC00E0037),
///
///
IllegalCriteriaColumns = unchecked((int)0xC00E0038),
///
///
IllegalPropertyId = unchecked((int)0xC00E0039),
///
///
IllegalRelation = unchecked((int)0xC00E003A),
///
///
IllegalPropertySize = unchecked((int)0xC00E003B),
///
///
IllegalRestrictionPropertyId = unchecked((int)0xC00E003C),
///
///
IllegalQueueProperties = unchecked((int)0xC00E003D),
///
///
/// Invalid property for the requested operation.
///
PropertyNotAllowed = unchecked((int)0xC00E003E),
///
///
/// Not all the required properties for the operation were specified
/// in the input parameters.
///
InsufficientProperties = unchecked((int)0xC00E003F),
///
///
/// Computer with the same name already exists in the site.
///
MachineExists = unchecked((int)0xC00E0040),
///
///
IllegalMessageProperties = unchecked((int)0xC00E0041),
///
///
/// DS is full.
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
DsIsFull = unchecked((int)0xC00E0042),
///
///
/// internal DS error.
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
DsError = unchecked((int)0xC00E0043),
///
///
/// Invalid object owner. For example CreateQueue failed because the Queue Manager
/// object is invalid.
///
InvalidOwner = unchecked((int)0xC00E0044),
///
///
/// The specified access mode is not supported.
///
UnsupportedAccessMode = unchecked((int)0xC00E0045),
///
///
ResultBufferTooSmall = unchecked((int)0xC00E0046),
///
///
/// The Connected Network can not be deleted, it is in use.
///
DeleteConnectedNetworkInUse = unchecked((int)0xC00E0048),
///
///
/// No response from object owner.
///
NoResponseFromObjectServer = unchecked((int)0xC00E0049),
///
///
/// Object owner is not reachable.
///
ObjectServerNotAvailable = unchecked((int)0xC00E004A),
///
///
/// Error while reading from a queue residing on a remote computer.
///
QueueNotAvailable = unchecked((int)0xC00E004B),
///
///
/// Cannot connect to MS DTC.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
DtcConnect = unchecked((int)0xC00E004C),
///
///
/// Cannot import the transaction.
///
TransactionImport = unchecked((int)0xC00E004E),
///
///
/// Wrong transaction usage.
///
TransactionUsage = unchecked((int)0xC00E0050),
///
///
/// Wrong transaction operations sequence.
///
TransactionSequence = unchecked((int)0xC00E0051),
///
///
/// Connector Type is mandatory when sending Acknowledgment or secure message.
///
MissingConnectorType = unchecked((int)0xC00E0055),
///
///
StaleHandle = unchecked((int)0xC00E0056),
///
///
/// Cannot enlist the transaction.
///
TransactionEnlist = unchecked((int)0xC00E0058),
///
///
/// The queue was deleted. Messages can not be received anymore using this
/// queue instance. The queue should be closed.
///
QueueDeleted = unchecked((int)0xC00E005A),
///
///
/// Invalid context parameter.
///
IllegalContext = unchecked((int)0xC00E005B),
///
///
IllegalSortPropertyId = unchecked((int)0xC00E005C),
///
///
LabelBufferTooSmall = unchecked((int)0xC00E005E),
///
///
/// The list of MQIS servers (in registry) is empty.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
MqisServerEmpty = unchecked((int)0xC00E005F),
///
///
/// MQIS database is in read-only mode.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
MqisReadOnlyMode = unchecked((int)0xC00E0060),
///
///
SymmetricKeyBufferTooSmall = unchecked((int)0xC00E0061),
///
///
SignatureBufferTooSmall = unchecked((int)0xC00E0062),
///
///
ProviderNameBufferTooSmall = unchecked((int)0xC00E0063),
///
///
/// The operation is illegal on foreign message queuing system.
///
IllegalOperation = unchecked((int)0xC00E0064),
///
///
/// Another MQIS server is being installed, write operations to the
/// database are not allowed at this stage.
///
WriteNotAllowed = unchecked((int)0xC00E0065),
///
///
/// MSMQ independent clients cannot serve MSMQ dependent clients.
///
WksCantServeClient = unchecked((int)0xC00E0066),
///
///
/// The number of dependent clients served by this MSMQ server reached
/// its upper limit.
///
DependentClientLicenseOverflow = unchecked((int)0xC00E0067),
///
///
/// Ini file for queue in LQS was deleted because it was corrupted.
///
CorruptedQueueWasDeleted = unchecked((int)0xC00E0068),
///
///
/// The remote machine is not available.
///
RemoteMachineNotAvailable = unchecked((int)0xC00E0069),
///
///
/// The operation is not supported for a WORKGROUP installation computer.
///
UnsupportedOperation = unchecked((int)0xC00E006A),
///
///
/// The Cryptographic Service Provider is not supported by Message Queuing.
///
EncryptionProviderNotSupported = unchecked((int)0xC00E006B),
///
///
/// Unable to set the security descriptor for the cryptographic keys.
///
CannotSetCryptographicSecurityDescriptor = unchecked((int)0xC00E006C),
///
///
/// A user attempted to send an authenticated message without a certificate.
///
CertificateNotProvided = unchecked((int)0xC00E006D),
///
///
QDnsPropertyNotSupported = unchecked((int)0xC00E006E),
///
///
/// Unable to create a certificate store for the internal certificate.
///
CannotCreateCertificateStore = unchecked((int)0xC00E006F),
///
///
/// Unable to open the certificates store for the internal certificate.
///
CannotOpenCertificateStore = unchecked((int)0xC00E0070),
///
///
/// The operation is invalid for a msmqServices object.
///
IllegalEnterpriseOperation = unchecked((int)0xC00E0071),
///
///
/// Failed to grant the "Add Guid" permission to current user.
///
CannotGrantAddGuid = unchecked((int)0xC00E0072),
///
///
/// Can't load the MSMQOCM.DLL library.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
CannotLoadMsmqOcm = unchecked((int)0xC00E0073),
///
///
/// Cannot locate an entry point in the MSMQOCM.DLL library.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
NoEntryPointMsmqOcm = unchecked((int)0xC00E0074),
///
///
/// Failed to find Message Queuing servers on domain controllers.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
NoMsmqServersOnDc = unchecked((int)0xC00E0075),
///
///
/// Failed to join MSMQ enterprise on Windows 2000 domain.
///
CannotJoinDomain = unchecked((int)0xC00E0076),
///
///
/// Failed to create an object on a specified Global Catalog server.
///
CannotCreateOnGlobalCatalog = unchecked((int)0xC00E0077),
///
///
/// Failed to create msmqConfiguration object with GUID that match machine installation. You must uninstall MSMQ and then reinstall it.
///
GuidNotMatching = unchecked((int)0xC00E0078),
///
///
/// Unable to find the public key for computer.
///
PublicKeyNotFound = unchecked((int)0xC00E0079),
///
///
/// The public key for the computer does not exist.
///
PublicKeyDoesNotExist = unchecked((int)0xC00E007A),
///
///
IllegalPrivateProperties = unchecked((int)0xC00E007B),
///
///
/// Unable to find Global Catalog servers in the specified domain.
///
NoGlobalCatalogInDomain = unchecked((int)0xC00E007C),
///
///
/// Failed to find Message Queuing servers on Global Catalog domain controllers.
///
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
NoMsmqServersOnGlobalCatalog = unchecked((int)0xC00E007D),
///
///
/// Failed to retrieve the distinguished name of local computer.
///
CannotGetDistinguishedName = unchecked((int)0xC00E007E),
///
///
/// Unable to hash data for an authenticated message.
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
CannotHashDataEx = unchecked((int)0xC00E007F),
///
///
/// Unable to sign data before sending an authenticated message.
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
CannotSignDataEx = unchecked((int)0xC00E0080),
///
///
/// Unable to create hash object for an authenticated message.
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
CannotCreateHashEx = unchecked((int)0xC00E0081),
///
///
/// Signature of recieved message is not valid.
///
[SuppressMessage("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUpperCased")]
FailVerifySignatureEx = unchecked((int)0xC00E0082),
///
///
/// The message referenced by the lookup identifier does not exist.
///
MessageNotFound = unchecked((int)0xC00E0088),
}
}