MessageQueueErrorCode MessageQueueErrorCode MessageQueueErrorCode MessageQueueErrorCode Enum

定义

标识在消息队列应用程序中发生的并生成 MessageQueueException 异常的错误源。Identifies the source of an error that occurred within the Message Queuing application and generated a MessageQueueException exception.

此 API 支持产品基础结构,不能在代码中直接使用。

public enum class MessageQueueErrorCode
[System.Serializable]
public enum MessageQueueErrorCode
type MessageQueueErrorCode = 
Public Enum MessageQueueErrorCode
继承
MessageQueueErrorCodeMessageQueueErrorCodeMessageQueueErrorCodeMessageQueueErrorCode
属性

字段

AccessDenied AccessDenied AccessDenied AccessDenied -1072824283

消息文本:拒绝访问。拒绝访问指定队列或计算机。Message text: Access is denied.Access to the specified queue or computer is denied. 如果返回此错误,请验证是否具有操作访问权限,例如创建、删除或设置队列的属性。If this error is returned, verify that you have access rights for the operation, such as creating, deleting, or setting properties for a queue. 有关更改队列访问权限的信息,请参阅 MessageQueueAccessRightsSetPermissionsFor information about changing access rights for a queue, see MessageQueueAccessRights and SetPermissions.

BadSecurityContext BadSecurityContext BadSecurityContext BadSecurityContext -1072824267

消息文本:错误安全性上下文。Message text: Bad security context.
安全性上下文已损坏。The security context has become corrupted.

Base Base Base Base -1072824320

消息队列不返回此错误代码。Message Queuing does not return this error code.

BufferOverflow BufferOverflow BufferOverflow BufferOverflow -1072824294

消息文本:为 MQReceiveMessage 检索消息正文提供的缓冲区太小。Message text: The buffer supplied to MQReceiveMessage for message body retrieval was too small. “不从队列中移除消息,而且复制了缓冲区可容纳的部分消息体。”The message is not removed from the queue and part of the message body that fits in the buffer was copied.

CannotCreateCertificateStore CannotCreateCertificateStore CannotCreateCertificateStore CannotCreateCertificateStore -1072824209

消息文本:无法为内部证书创建证书存储。Message text: Unable to create a certificate store for the internal certificate.
如果没有操作自己的配置文件的权限,则消息队列会返回此错误。Message Queuing returns this error if you do not have permission to manipulate your own profile.

CannotCreateHashEx CannotCreateHashEx CannotCreateHashEx CannotCreateHashEx -1072824191

消息文本:无法为已验证身份的消息创建哈希对象。Message text: Unable to create a hash object for an authenticated message.
有关哈希算法的详细信息,请参阅 Message 类的 HashAlgorithm 属性。See the Message class's HashAlgorithm property for more information about hash algorithms.

CannotCreateOnGlobalCatalog CannotCreateOnGlobalCatalog CannotCreateOnGlobalCatalog CannotCreateOnGlobalCatalog -1072824201

消息文本:未能在指定的全局编录服务器上创建对象。Message text: Failed to create an object on a specified global catalog server.

CannotGetDistinguishedName CannotGetDistinguishedName CannotGetDistinguishedName CannotGetDistinguishedName -1072824194

消息文本:未能检索到本地计算机的可分辨名称。Message text: Failed to retrieve the distinguished name of local computer.

CannotGrantAddGuid CannotGrantAddGuid CannotGrantAddGuid CannotGrantAddGuid -1072824206

消息文本:未能将“添加 GUID”权限授予当前用户。Message text: Failed to grant the "Add Guid" permission to current user.

CannotHashDataEx CannotHashDataEx CannotHashDataEx CannotHashDataEx -1072824193

消息文本:无法对已验证身份消息的数据进行哈希操作。Message text: Unable to hash data for an authenticated message.

CannotImpersonateClient CannotImpersonateClient CannotImpersonateClient CannotImpersonateClient -1072824284

消息文本:RPC 服务器无法模拟客户端应用程序,因此未能验证安全凭据。Message text: The RPC server cannot impersonate the client application, hence security credentials could not be verified.
如果目录服务服务器无法模拟客户端应用程序,则消息队列会返回此错误。Message Queuing returns this error if the directory service server cannot impersonate the client application. 这是验证安全凭据所必需的。This is necessary to verify the security credentials.

CannotJoinDomain CannotJoinDomain CannotJoinDomain CannotJoinDomain -1072824202

消息文本:未能联接 Windows 2000 域上的消息队列企业版。Message text: Failed to join Message Queuing enterprise on Windows 2000 domain.

CannotLoadMsmqOcm CannotLoadMsmqOcm CannotLoadMsmqOcm CannotLoadMsmqOcm -1072824205

消息文本:无法加载 MSMQOCM.DLL 库。Message text: Cannot load the MSMQOCM.DLL library.

CannotOpenCertificateStore CannotOpenCertificateStore CannotOpenCertificateStore CannotOpenCertificateStore -1072824208

消息文本:无法打开内部证书的证书存储。Message text: Unable to open the certificates store for the internal certificate.
如果没有操作自己的配置文件的权限,则消息队列会返回此错误。Message Queuing returns this error if you do not have permission to manipulate your own profile.

CannotSetCryptographicSecurityDescriptor CannotSetCryptographicSecurityDescriptor CannotSetCryptographicSecurityDescriptor CannotSetCryptographicSecurityDescriptor -1072824212

消息文本:无法为加密密钥设置安全描述符。Message text: Unable to set the security descriptor for the cryptographic keys.
有关加密提供程序的信息,请参阅 CryptographicProviderTypeAuthenticationProviderTypeFor information about cryptographic providers, see CryptographicProviderType and AuthenticationProviderType.

CannotSignDataEx CannotSignDataEx CannotSignDataEx CannotSignDataEx -1072824192

消息文本:无法在发送已验证身份的消息之前对数据签名。Message text: Unable to sign data before sending an authenticated message.
有关对数据签名的详细信息,请参阅 Message 类的 DigitalSignature 属性。See the Message class's DigitalSignature property for more information about signing data.

CertificateNotProvided CertificateNotProvided CertificateNotProvided CertificateNotProvided -1072824211

消息文本:用户尝试发送没有证书的已验证身份消息。Message text: A user attempted to send an authenticated message without a certificate.
如果发送应用程序尝试使用安全性上下文信息对消息进行身份验证,且安全性上下文不包含证书,则消息队列会返回此错误。Message Queuing returns this error if the sending application attempts to use security context information to authenticate a message, and the security context does not include a certificate. 有关证书的详细信息,请参阅 Message 类的 SenderCertificate 属性。For more information about certificates, see the Message class's SenderCertificate property.

ComputerDoesNotSupportEncryption ComputerDoesNotSupportEncryption ComputerDoesNotSupportEncryption ComputerDoesNotSupportEncryption -1072824269

消息文本:计算机不支持加密操作。Message text: The computer does not support encryption operations.
如果应用程序请求加密,而计算机(源或目标)不支持加密操作,则消息队列会返回此错误。Message Queuing returns this error when the application requests encryption and the computer (source or destination) does not support encryption operations. 如果返回此错误,加密操作失败。When this error is returned, the encryption operation fails. 有关使用加密的详细信息,请参阅 EncryptionRequiredEncryptionAlgorithmFor more information about using encryption, see EncryptionRequired and EncryptionAlgorithm.

CorruptedInternalCertificate CorruptedInternalCertificate CorruptedInternalCertificate CorruptedInternalCertificate -1072824275

消息文本:内部消息队列证书已损坏。Message text: The internal Message Queuing certificate is corrupted.
此错误仅适用于消息队列 1.0。This error applies only to Message Queuing 1.0.

CorruptedPersonalCertStore CorruptedPersonalCertStore CorruptedPersonalCertStore CorruptedPersonalCertStore -1072824271

消息文本:个人证书存储已损坏。Message text: The personal certificate store is corrupted.
如果 Microsoft Internet Explorer 个人证书存储已损坏,则消息队列会返回此错误。Message Queuing returns this error when the Microsoft Internet Explorer personal certificate store is corrupted.

CorruptedQueueWasDeleted CorruptedQueueWasDeleted CorruptedQueueWasDeleted CorruptedQueueWasDeleted -1072824216

消息文本:LQS 中队列的 .ini 文件因损坏而被删除。Message text: The.ini file for the queue in LQS was deleted because it was corrupted.

CorruptedSecurityData CorruptedSecurityData CorruptedSecurityData CorruptedSecurityData -1072824272

消息文本:加密函数已失败。Message text: A cryptographic function has failed.

CouldNotGetAccountInfo CouldNotGetAccountInfo CouldNotGetAccountInfo CouldNotGetAccountInfo -1072824265

消息文本:无法获得用户的帐户信息。Message text: Could not get the account information for the user.

CouldNotGetUserSid CouldNotGetUserSid CouldNotGetUserSid CouldNotGetUserSid -1072824266

消息文本:无法从线程令牌中获取 SID 信息。Message text: Could not get the SID information out of the thread token.
有关发送方标识符的详细信息,请参阅 Message 类的 SenderId 属性。For more information about sender identifiers, see the Message class's SenderId property.

DeleteConnectedNetworkInUse DeleteConnectedNetworkInUse DeleteConnectedNetworkInUse DeleteConnectedNetworkInUse -1072824248

消息文本:正在使用连接的网络,无法删除。Message text: The connected network cannot be deleted; it is in use.
如果消息队列因指定的连接网络至少在另外一台计算机中定义而无法删除该网络,则会返回此错误。Message Queuing returns this error if it cannot delete the specified connected network because the network is defined in at least one other computer. 从所有已连接网络列表中删除连接的网络,然后再次尝试删除它。Remove the connected network from all connected network lists and try again to delete it.

DependentClientLicenseOverflow DependentClientLicenseOverflow DependentClientLicenseOverflow DependentClientLicenseOverflow -1072824217

消息文本:此消息队列服务器所服务的从属客户端数量已达到其上限。Message text: The number of dependent clients served by this Message Queuing server reached its upper limit.

DsError DsError DsError DsError -1072824253

消息文本:内部目录服务错误。Message text: Internal directory service error.

DsIsFull DsIsFull DsIsFull DsIsFull -1072824254

消息文本:目录服务已满。Message text: Directory service is full.
如果信息存储已满,则消息队列会返回此错误。Message Queuing returns this error if the information store is full. 此错误仅适用于消息队列 1.0。This error applies only to Message Queuing 1.0.

DtcConnect DtcConnect DtcConnect DtcConnect -1072824244

消息文本:无法连接到 MS DTC。Message text: Cannot connect to MS DTC.
如果消息队列无法连接到 Microsoft 分布式事务处理协调器,则会返回此错误。Message Queuing returns this error if it is unable to connect to the Microsoft Distributed Transaction Coordinator.

EncryptionProviderNotSupported EncryptionProviderNotSupported EncryptionProviderNotSupported EncryptionProviderNotSupported -1072824213

消息文本:消息队列不支持加密服务提供程序。Message text: The Cryptographic Service Provider is not supported by Message Queuing.

FailVerifySignatureEx FailVerifySignatureEx FailVerifySignatureEx FailVerifySignatureEx -1072824190

消息文本:已接收消息的签名无效。Message text: Signature of received message is not valid.

FormatNameBufferTooSmall FormatNameBufferTooSmall FormatNameBufferTooSmall FormatNameBufferTooSmall -1072824289

消息文本:提供给 API 的格式名称缓冲区太小,无法容纳格式名称。Message text: The format name buffer supplied to the API was too small to fit the format name.

Generic Generic Generic Generic -1072824319

消息文本:一般性错误。Message text: Generic Error.
如果消息队列无法识别更具体的源,则会返回此错误。Message Queuing returns this error if it cannot identify a more specific source.

GuidNotMatching GuidNotMatching GuidNotMatching GuidNotMatching -1072824200

消息文本:未能创建 GUID 与计算机安装相匹配的消息队列配置对象。Message text: Failed to create Message Queuing configuration object with a GUID that matches the computer installation. “必须卸载‘消息队列’,然后重新安装它。”You must uninstall Message Queuing and then reinstall it.

IllegalContext IllegalContext IllegalContext IllegalContext -1072824229

消息文本:上下文参数无效。Message text: Invalid context parameter.

IllegalCriteriaColumns IllegalCriteriaColumns IllegalCriteriaColumns IllegalCriteriaColumns -1072824264

消息文本:MQCOLUMNS 参数无效。Message text: Invalid MQCOLUMNS parameter.
如果正在使用 MessagePropertyFilter 类并为所有布尔值选择了 false 以及为所有整数值选择了零 (0),则消息队列会返回此错误。Message Queuing returns this error if you are using the MessagePropertyFilter class and have selected false for all Boolean values and zero (0) for all integer values.

IllegalCursorAction IllegalCursorAction IllegalCursorAction IllegalCursorAction -1072824292

消息文本:指定给 MQReceiveMessage 的 MQ_ACTION_PEEK_NEXT 不能与当前游标位置一起使用。Message text: MQ_ACTION_PEEK_NEXT specified to MQReceiveMessage can not be used with the current cursor position.
MoveNext 不能与当前游标位置一起使用。MoveNext cannot be used with the current cursor position.

IllegalEnterpriseOperation IllegalEnterpriseOperation IllegalEnterpriseOperation IllegalEnterpriseOperation -1072824207

消息文本:此操作对消息队列服务对象无效。Message text: The operation is invalid for a Message Queuing services object.

IllegalFormatName IllegalFormatName IllegalFormatName IllegalFormatName -1072824290

消息文本:给定的格式名称无效。Message text: The given format name is invalid. 有关有效格式名称语法选项,请参阅 MessageQueue 类的 FormatName 属性。For valid format name syntax options, see the MessageQueue class's FormatName property.

IllegalMessageProperties IllegalMessageProperties IllegalMessageProperties IllegalMessageProperties -1072824255

消息文本:非法 MQQMPROPS 参数,该参数为 null 或者没有属性。Message text: Illegal MQQMPROPS parameter, either null or with zero properties.
非法消息属性,该参数为 null 或者没有属性。Illegal message properties, either null or with zero properties.

IllegalOperation IllegalOperation IllegalOperation IllegalOperation -1072824220

消息文本:此操作在外部消息队列系统上无效。Message text: The operation is invalid on foreign message queuing systems.

IllegalPrivateProperties IllegalPrivateProperties IllegalPrivateProperties IllegalPrivateProperties -1072824197

私有属性参数值无效。The private properties parameter value is invalid. 这可能是因为它的值为 null 或者没有指定属性。This may be because it has a null value or has zero properties specified.

IllegalPropertyId IllegalPropertyId IllegalPropertyId IllegalPropertyId -1072824263

消息文本:属性标识符值无效。Message text: Invalid property identifier value.

IllegalPropertySize IllegalPropertySize IllegalPropertySize IllegalPropertySize -1072824261

消息文本:非法属性缓冲区大小。Message text: Illegal property buffer size.
如果消息标识符或相关标识符的指定缓冲区大小不正确,则消息队列会返回此错误。Message Queuing returns this error if the specified buffer for the message identifier or correlation identifier is not the correct size. 有关消息标识符的详细信息,请参阅 Message 类的 IdCorrelationId 属性。See the Message class's Id and CorrelationId properties for more information about message identifiers.

IllegalPropertyValue IllegalPropertyValue IllegalPropertyValue IllegalPropertyValue -1072824296

消息文本:属性值无效。Message text: Invalid property value.

IllegalPropertyVt IllegalPropertyVt IllegalPropertyVt IllegalPropertyVt -1072824295

消息文本:VARTYPE 值无效。Message text: Invalid VARTYPE value.

IllegalQueuePathName IllegalQueuePathName IllegalQueuePathName IllegalQueuePathName -1072824300

消息文本:队列路径名称无效。Message text: Invalid queue path name.
有关有效路径语法选项,请参阅 MessageQueue 类的 Path 属性。See the MessageQueue class's Path property for valid path syntax options.

IllegalQueueProperties IllegalQueueProperties IllegalQueueProperties IllegalQueueProperties -1072824259

消息文本:非法 MQQUEUEPROPS 参数,该参数为 null 或者没有属性。Message text: Illegal MQQUEUEPROPS parameter, either null or with zero properties.
如果正在使用 MessageQueueCriteria 类并且已调用 ClearAll() 或未指定筛选队列时要使用的任何条件,则消息队列会返回此错误。Message Queuing returns this error if you are using the MessageQueueCriteria class and have called ClearAll() or have not specified any criteria to use when filtering queues. 有关筛选队列搜索条件的详细信息,请参阅 MessageQueueCriteria 类或 GetPublicQueuesSee the MessageQueueCriteria class or GetPublicQueues for more information about filtering queue search criteria.

IllegalRelation IllegalRelation IllegalRelation IllegalRelation -1072824262

消息文本:限制中的关系值无效。Message text: Invalid relation value in restriction.

IllegalRestrictionPropertyId IllegalRestrictionPropertyId IllegalRestrictionPropertyId IllegalRestrictionPropertyId -1072824260

消息文本:MQRESTRICTION 参数中的 propid 值无效。Message text: Invalid propid value in MQRESTRICTION parameter.
限制的属性标识符值无效。Invalid property identifier value for restriction.

IllegalSecurityDescriptor IllegalSecurityDescriptor IllegalSecurityDescriptor IllegalSecurityDescriptor -1072824287

消息文本:指定的安全描述符不是有效的安全描述符。Message text: The specified security descriptor is not a valid security descriptor.

IllegalSort IllegalSort IllegalSort IllegalSort -1072824304

消息文本:非法指定排序(例如,重复列)。Message text: Illegal sort specified (for example, duplicate columns).

IllegalSortPropertyId IllegalSortPropertyId IllegalSortPropertyId IllegalSortPropertyId -1072824228

消息文本:MQSORTSET 中的 propid 值无效。Message text: Invalid propid value in MQSORTSET.
用于排序的属性标识符值无效。Invalid property identifier value in for sort.

IllegalUser IllegalUser IllegalUser IllegalUser -1072824303

消息文本:用户的用户名无效。Message text: The user has an invalid user name.
如果应用程序通过无效的用户名连接到消息队列,则消息队列会返回此错误。Message Queuing returns this error if your application is connecting to it through an invalid user name.

InsufficientProperties InsufficientProperties InsufficientProperties InsufficientProperties -1072824257

消息文本:未在输入参数中指定操作所必需的全部属性。Message text: Not all the required properties for the operation were specified in the input parameters.

InsufficientResources InsufficientResources InsufficientResources InsufficientResources -1072824281

消息文本:执行操作所需的资源不足。Message text: Insufficient resources to perform operation.
例如,如果没有足够的内存来完成操作,则消息队列会返回此错误。Message Queuing returns this error, for example, if there is not enough memory to complete the operation. 如果返回此错误,操作失败。When this error is returned, the operation fails.

InvalidCertificate InvalidCertificate InvalidCertificate InvalidCertificate -1072824276

消息文本:用户证书无效。Message text: The user certificate is not valid.
如果 Message 类的 SenderCertificate 属性中指定的安全证书无效,或如果证书未正确放在 Microsoft Internet Explorer 个人证书存储中,则消息队列会返回此错误。Message Queuing returns this error if the security certificate specified in the Message class's SenderCertificate property is invalid, or if the certificate is not correctly placed in the Microsoft Internet Explorer personal certificate store.

InvalidHandle InvalidHandle InvalidHandle InvalidHandle -1072824313

消息文本:传递给函数的句柄无效。Message text: An invalid handle passed to a function.
如果指定的队列句柄无效,则消息队列会返回此错误。Message Queuing returns this error if the specified queue handle is not valid.

InvalidOwner InvalidOwner InvalidOwner InvalidOwner -1072824252

消息文本:对象所有者无效。Message text: Invalid object owner. 例如,CreateQueue 因队列管理器对象无效而失败。For example CreateQueue failed because the Queue Manager object is invalid.
例如,如果应用程序尝试在未安装消息队列的计算机上创建队列,则消息队列会返回此错误。Message Queuing returns this error, for example, if your application attempts to create a queue on a computer on which Message Queuing is not installed.

InvalidParameter InvalidParameter InvalidParameter InvalidParameter -1072824314

消息文本:传递给函数的参数无效。Message text: An invalid parameter passed to a function.
如果操作提供的某个参数无效,则消息队列会返回此错误。Message Queuing returns this error if one of the parameters supplied by the operation is not valid.

IOTimeout IOTimeout IOTimeout IOTimeout -1072824293

消息文本:接收或查看消息超时时间已到。Message text: The receive or peek message time-out has expired.
如果对 ReceivePeek 的调用中指定的超时时间在新消息到达队列之前到期,则消息队列会返回此错误。Message Queuing returns this error if the time-out specified in a call to Receive or Peek expires before a new message arrives in the queue. 仅当队列中没有消息时才会发生这种情况;如果存在消息,则会立即返回两种方法。This can only happen if there was no message already in the queue; both methods would return immediately if a message exists.

LabelBufferTooSmall LabelBufferTooSmall LabelBufferTooSmall LabelBufferTooSmall -1072824226

消息文本:提供给 API 的标签缓冲区太小。Message text: The label buffer supplied to the API was too small.

MachineExists MachineExists MachineExists MachineExists -1072824256

消息文本:站点中已存在同名的计算机。Message text: Computer with the same name already exists in the site.

MachineNotFound MachineNotFound MachineNotFound MachineNotFound -1072824307

消息文本:无法找到指定的计算机。Message text: The specified computer could not be found.
如果消息队列无法在目录服务中找到队列的计算机,则会返回此错误。Message Queuing returns this error if it cannot find the queue's computer in the directory service.

MessageAlreadyReceived MessageAlreadyReceived MessageAlreadyReceived MessageAlreadyReceived -1072824291

消息文本:游标当前指向的消息已被另一个进程或另一个在不使用此游标的情况下接收消息的调用从该队列中移除。Message text: A message that is currently pointed at by the cursor has been removed from the queue by another process or by another call to receive the message without the use of this cursor.
如果某些其他游标、应用程序或系统管理员已从队列中移除消息,则消息队列会返回此错误。Message Queuing returns this error when some other cursor, application, or the system administrator has already removed the message from the queue. 使用 MessageEnumerator 类时最有可能发生此错误,例如通过调用 GetMessageEnumerator2()GetEnumerator() 返回的实例。This error is most likely to occur when using the MessageEnumerator class, such as the instance returned through a call to GetMessageEnumerator2() or GetEnumerator().

MessageNotFound MessageNotFound MessageNotFound MessageNotFound -1072824184

消息文本:无法找到指定的消息。Message text: The specified message could not be found.
如果消息队列无法在队列中找到指定的消息,则会返回此错误。Message Queuing returns this error if it cannot find the specified message in the queue.

MessageStorageFailed MessageStorageFailed MessageStorageFailed MessageStorageFailed -1072824278

消息文本:无法存储可恢复的消息或日记消息。Message text: Could not store a recoverable or journal message. 没有发送消息。Message was not sent.
如果本地计算机无法存储可恢复的消息(在出现网络问题时可保证交付的消息)或日记消息,则消息队列会返回此错误。Message Queuing returns this error if the local computer cannot store a recoverable message (one whose delivery is guaranteed in the case of a network problem) or a journal message. 有关这些消息发送选项的详细信息,请参阅 Message 类的 RecoverableUseJournalQueue 属性。See the Message class's Recoverable and UseJournalQueue properties for more information about these message sending options.

MissingConnectorType MissingConnectorType MissingConnectorType MissingConnectorType -1072824235

消息文本:发送确认或安全消息时,强制使用连接器类型。Message text: Connector Type is mandatory when sending an Acknowledgment or secure message.
如果应用程序设置通常由消息队列设置的属性,但不指定要使用的连接器,则消息队列会返回此错误。Message Queuing returns this error when the application sets a property typically set by Message Queuing, but does not specify the connector to use. 有关连接器类型的详细信息,请参阅 Message 类的 ConnectorType 属性。For more information about connector types, see the Message class's ConnectorType property.

MqisReadOnlyMode MqisReadOnlyMode MqisReadOnlyMode MqisReadOnlyMode -1072824224

消息文本:MQIS 数据库处于只读模式。Message text: MQIS database is in read-only mode.

MqisServerEmpty MqisServerEmpty MqisServerEmpty MqisServerEmpty -1072824225

消息文本:MQIS 服务器列表(在注册表中)为空。Message text: The list of MQIS servers (in registry) is empty. 此错误仅适用于消息队列 1.0。This error applies only to Message Queuing 1.0.

NoDs NoDs NoDs NoDs -1072824301

消息文本:没有与此站点控制器的连接。Message text: No connection with this site's controller(s).
如果应用程序无法访问目录服务,则消息队列会返回此错误。Message Queuing returns this error if the application cannot access the directory service. 如果返回此错误,请验证访问目录服务的权限。If this error is returned, verify permissions for accessing the directory service.

NoEntryPointMsmqOcm NoEntryPointMsmqOcm NoEntryPointMsmqOcm NoEntryPointMsmqOcm -1072824204

消息文本:无法在 MSMQOCM.DLL 库中找到入口点。Message text: Cannot locate an entry point in the MSMQOCM.DLL library.

NoGlobalCatalogInDomain NoGlobalCatalogInDomain NoGlobalCatalogInDomain NoGlobalCatalogInDomain -1072824196

消息文本:无法在指定域中找到全局编录服务器。Message text: Unable to find Global Catalog servers in the specified domain.

NoInternalUserCertificate NoInternalUserCertificate NoInternalUserCertificate NoInternalUserCertificate -1072824273

消息文本:用户的内部消息队列证书不存在。Message text: The internal Message Queuing certificate for the user does not exist.
如果未注册任何内部证书或注册的证书已损坏,则消息队列会返回此错误。Message Queuing returns this error if no internal certificate is registered or the registered certificate is corrupted.

NoMsmqServersOnDc NoMsmqServersOnDc NoMsmqServersOnDc NoMsmqServersOnDc -1072824203

消息文本:未能在域控制器上找到消息队列服务器。Message text: Failed to find Message Queuing servers on domain controllers.

NoMsmqServersOnGlobalCatalog NoMsmqServersOnGlobalCatalog NoMsmqServersOnGlobalCatalog NoMsmqServersOnGlobalCatalog -1072824195

消息文本:未能在全局编录域控制器上找到消息队列服务器。Message text: Failed to find Message Queuing servers on Global Catalog domain controllers.

NoResponseFromObjectServer NoResponseFromObjectServer NoResponseFromObjectServer NoResponseFromObjectServer -1072824247

消息文本:对象所有者无响应。Message text: No response from object owner.
如果目录服务服务器无响应,则消息队列会返回此错误。Message Queuing returns this error if there is no response from the directory service server. 如果返回此错误,则操作状态未知。When this error is returned, the status of the operation is unknown.

ObjectServerNotAvailable ObjectServerNotAvailable ObjectServerNotAvailable ObjectServerNotAvailable -1072824246

消息文本:无法访问对象所有者。Message text: Object owner is not reachable.
如果对象的目录服务服务器不可用,则消息队列会返回此错误。Message Queuing returns this error if the directory service server for the object is not available. 如果返回此错误,操作失败。When this error is returned, the operation fails.

OperationCanceled OperationCanceled OperationCanceled OperationCanceled -1072824312

消息文本:操作在完成前被取消。Message text: The operation was canceled before it could be completed.

PrivilegeNotHeld PrivilegeNotHeld PrivilegeNotHeld PrivilegeNotHeld -1072824282

消息文本:客户端没有执行操作所需的特权。Message text: Client does not have the required privileges to perform the operation.

Property Property Property Property -1072824318

消息文本:传递的一个或多个属性无效。Message text: One or more of the passed properties are invalid.

PropertyNotAllowed PropertyNotAllowed PropertyNotAllowed PropertyNotAllowed -1072824258

消息文本:所请求操作的属性无效Message text: Invalid property for the requested operation

ProviderNameBufferTooSmall ProviderNameBufferTooSmall ProviderNameBufferTooSmall ProviderNameBufferTooSmall -1072824221

消息文本:为提供程序名称属性传递的缓冲区太小。Message text: The passed buffer for the Provider name property is too small.
有关提供程序名称的详细信息,请参阅 Message 类的 AuthenticationProviderName 属性。See the Message class's AuthenticationProviderName property for more information about provider names.

PublicKeyDoesNotExist PublicKeyDoesNotExist PublicKeyDoesNotExist PublicKeyDoesNotExist -1072824198

消息文本:计算机的公钥不存在。Message text: The public key for the computer does not exist.
如果消息队列能够查询目录服务,但未找到增强型密钥,则会返回此错误。Message Queuing returns this error if it was able to query the directory service, but the enhanced key was not found. 此错误仅适用于消息队列 2.0。This error applies only to Message Queuing 2.0.

PublicKeyNotFound PublicKeyNotFound PublicKeyNotFound PublicKeyNotFound -1072824199

消息文本:无法找到计算机的公钥。Message text: Unable to find the public key for computer.
如果尝试检索运行消息队列 1.0 的计算机的计算机属性,或如果尝试在脱机工作时获取远程计算机属性,则消息队列会返回此错误。Message Queuing returns this error, for example, if you are trying to retrieve the computer properties of a computer running Message Queuing 1.0 or if you are trying to get remote computer properties while working offline. 此错误仅适用于消息队列 2.0。This error applies only to Message Queuing 2.0.

QDnsPropertyNotSupported QDnsPropertyNotSupported QDnsPropertyNotSupported QDnsPropertyNotSupported -1072824210

不支持将 DNS 属性作为队列搜索条件。DNS property is not supported as criteria to locate queues.
无法检索队列的 DNS 路径名称。You cannot retrieve the DNS path name of a queue.

QueueDeleted QueueDeleted QueueDeleted QueueDeleted -1072824230

消息文本:队列已删除。Message text: The queue was deleted. “使用此队列实例无法再接收任何消息。”。Messages cannot be received anymore using this queue instance. “应关闭队列。”The queue should be closed.

QueueExists QueueExists QueueExists QueueExists -1072824315

消息文本:已注册具有相同路径名称的队列。Message text: A queue with the same pathname is already registered.
消息队列在目录服务中注册公共队列,以及在本地计算机上注册专用队列。Message Queuing registers public queues in the directory service, and registers private queues on the local computer.

QueueNotAvailable QueueNotAvailable QueueNotAvailable QueueNotAvailable -1072824245

消息文本:从驻留在远程计算机上的队列中读取时出错。Message text: Error while reading from a queue residing on a remote computer.

QueueNotFound QueueNotFound QueueNotFound QueueNotFound -1072824317

消息文本:队列未在目录服务中注册。Message text: The queue is not registered in the directory service.
如果消息队列找不到队列,则会返回此错误。Message Queuing returns this error if it cannot find the queue. 这包括未在目录服务中注册的公共队列以及消息队列命名空间中不存在的 Internet 队列。This includes public queues not registered in the directory service and Internet queues that do not exist in the Message Queuing namespace.

RemoteMachineNotAvailable RemoteMachineNotAvailable RemoteMachineNotAvailable RemoteMachineNotAvailable -1072824215

消息文本:远程计算机不可用。Message text: The remote machine is not available.

ResultBufferTooSmall ResultBufferTooSmall ResultBufferTooSmall ResultBufferTooSmall -1072824250

消息文本:提供的结果缓冲区太小。Message text: The supplied result buffer is too small.

SecurityDescriptorBufferTooSmall SecurityDescriptorBufferTooSmall SecurityDescriptorBufferTooSmall SecurityDescriptorBufferTooSmall -1072824285

消息文本:传递给 MQGetQueueSecurity 的缓冲区太小。Message text: The size of the buffer passed to MQGetQueueSecurity is too small.
如果提供的安全缓冲区对于安全描述符而言太小,则消息队列会返回此错误。Message Queuing returns this error if the supplied security buffer is too small for the security descriptor.

SenderCertificateBufferTooSmall SenderCertificateBufferTooSmall SenderCertificateBufferTooSmall SenderCertificateBufferTooSmall -1072824277

消息文本:为用户证书属性传递的缓冲区太小。Message text: The passed buffer for the user certificate property is too small.
有关用户证书的详细信息,请参阅 Message 类的 SenderCertificate 属性。See the Message class's SenderCertificate property for more information about user certificates.

SenderIdBufferTooSmall SenderIdBufferTooSmall SenderIdBufferTooSmall SenderIdBufferTooSmall -1072824286

消息文本:为用户标识符属性传递的缓冲区太小。Message text: The passed buffer for the user identifier property is too small.
如果提供的发送方标识缓冲区太小,则消息队列会返回此错误。Message Queuing returns this error when the supplied sender identification buffer is too small. 有关发送方标识符的详细信息,请参阅 Message 类的 SenderId 属性。See the Message class's SenderId property for more information about sender identifiers.

ServiceNotAvailable ServiceNotAvailable ServiceNotAvailable ServiceNotAvailable -1072824309

消息文本:消息队列服务不可用。Message text: The Message Queues service is not available.
如果应用程序无法连接到队列管理器,则消息队列会返回此错误。Message Queuing returns this error if the application is unable to connect to the Queue Manager.

SharingViolation SharingViolation SharingViolation SharingViolation -1072824311

消息文本:共享冲突。Message text: Sharing violation. “队列已被打开用于独占接收。”The queue is already opened for exclusive receive.
如果应用程序尝试打开具有独占读取权限的已打开队列,则消息队列会返回此错误。Message Queuing returns this error if an application is trying to open an already opened queue that has exclusive read rights. 有关以独占方式从队列接收消息的详细信息,请参阅 MessageQueue 类的 DenySharedReceive 属性。For more information about receiving messages exclusively from a queue, see the MessageQueue class's DenySharedReceive property.

SignatureBufferTooSmall SignatureBufferTooSmall SignatureBufferTooSmall SignatureBufferTooSmall -1072824222

消息文本:为签名属性传递的缓冲区太小。Message text: The passed buffer for the Signature property is too small.
有关签名的详细信息,请参阅 Message 类的 DigitalSignature 属性。See the Message class's DigitalSignature property for more information about signatures.

StaleHandle StaleHandle StaleHandle StaleHandle -1072824234

消息文本:已重启队列管理器服务。Message text: The Queue Manager service has been restarted. “队列句柄已失效,应将其关闭。”The queue handle is stale and should be closed.
如果在队列管理器服务的上一个会话中获取了指定的句柄,则消息队列会返回此错误。Message Queuing returns this error if the specified handle was obtained in a previous session of the Queue Manager service.

SymmetricKeyBufferTooSmall SymmetricKeyBufferTooSmall SymmetricKeyBufferTooSmall SymmetricKeyBufferTooSmall -1072824223

消息文本:为对称密钥属性传递的缓冲区太小。Message text: The passed buffer for the Symmetric key property is too small.
有关对称密钥的详细信息,请参阅 Message 类的 DestinationSymmetricKey 属性。See the Message class's DestinationSymmetricKey property for more information about symmetric keys.

TransactionEnlist TransactionEnlist TransactionEnlist TransactionEnlist -1072824232

消息文本:无法登记事务。Message text: Cannot enlist the transaction.

TransactionImport TransactionImport TransactionImport TransactionImport -1072824242

消息文本:无法导入事务。Message text: Cannot import the transaction.

TransactionSequence TransactionSequence TransactionSequence TransactionSequence -1072824239

消息文本:错误的事务操作序列。Message text: Wrong transaction operations sequence.

TransactionUsage TransactionUsage TransactionUsage TransactionUsage -1072824240

消息文本:错误的事务使用。Message text: Wrong transaction usage.
如果尝试从事务中打开远程队列进行读取访问,或尝试从事务的非事务性队列中读取消息,则消息队列会返回此错误。Message Queuing returns this error if an attempt was made to open a remote queue for read access from within a transaction, or an attempt was made to read a message from a non-transactional queue from within a transaction.

UnsupportedAccessMode UnsupportedAccessMode UnsupportedAccessMode UnsupportedAccessMode -1072824251

消息文本:不支持指定的访问模式。Message text: The specified access mode is not supported.
如果在打开队列时指定的访问模式设置为无效值,或指定的访问模式和共享模式不兼容,则消息队列会返回此错误。Message Queuing returns this error if the access mode specified when opening the queue is set to an invalid value, or the access mode and the share mode specified are not compatible.

UnsupportedFormatNameOperation UnsupportedFormatNameOperation UnsupportedFormatNameOperation UnsupportedFormatNameOperation -1072824288

消息文本:不支持对指定格式名称执行请求的操作。Message text: The requested operation for the specified format name is not supported.
如果指定的格式名称不支持请求的操作,则消息队列会返回此错误。Message Queuing returns this error when the requested operation is not supported for the specified format name. 操作包括尝试通过指定直接格式名称来打开队列用于接收消息。Operations include trying to open a queue to receive messages by specifying a direct format name.

UnsupportedOperation UnsupportedOperation UnsupportedOperation UnsupportedOperation -1072824214

消息文本:WORKGROUP 安装计算机不支持此操作。Message text: The operation is not supported for a WORKGROUP installation computer.

UserBufferTooSmall UserBufferTooSmall UserBufferTooSmall UserBufferTooSmall -1072824280

消息文本:由于用户缓冲区太小,无法容纳返回的信息,请求失败。Message text: Request failed because user buffer is too small to hold the returned information.

WksCantServeClient WksCantServeClient WksCantServeClient WksCantServeClient -1072824218

消息文本:独立于消息队列的客户端无法为依赖于消息队列的客户端提供服务。Message text: Message Queuing-independent clients cannot serve Message Queuing-dependent clients.

WriteNotAllowed WriteNotAllowed WriteNotAllowed WriteNotAllowed -1072824219

消息文本:正在安装另一个 MQIS 服务器;此时不允许向数据库进行写操作。Message text: Another MQIS server is being installed; write operations to the database are not allowed at this time.

示例

下面的示例验证消息队列的队列是否存在,以及然后将其删除。The following example verifies whether a Message Queuing queue exists, and then deletes it.

#using <system.dll>
#using <system.messaging.dll>

using namespace System;
using namespace System::Messaging;
int main()
{
   
   // Determine whether the queue exists.
   if ( MessageQueue::Exists( ".\\myQueue" ) )
   {
      try
      {
         
         // Delete the queue.
         MessageQueue::Delete( ".\\myQueue" );
      }
      catch ( MessageQueueException^ e ) 
      {
         if ( e->MessageQueueErrorCode == MessageQueueErrorCode::AccessDenied )
         {
            Console::WriteLine( "Access is denied. Queue might be a system queue." );
         }
         
         // Handle other sources of MessageQueueException.
      }

   }

   return 0;
}

using System;
using System.Messaging;

namespace MyProject
{
	/// <summary>
	/// Provides a container class for the example.
	/// </summary>
	public class MyNewQueue
	{

		//**************************************************
		// Provides an entry point into the application.
		//		 
		// This example verifies existence and attempts to 
		// delete a queue.
		//**************************************************

		public static void Main()
		{

			// Determine whether the queue exists.
			if (MessageQueue.Exists(".\\myQueue"))
			{
				try
				{
					// Delete the queue.
					MessageQueue.Delete(".\\myQueue");
				}
				catch(MessageQueueException e)
				{
					if(e.MessageQueueErrorCode == 
						MessageQueueErrorCode.AccessDenied)
					{
						Console.WriteLine("Access is denied. " + 
							"Queue might be a system queue.");
					}

					// Handle other sources of MessageQueueException.
				}

			}
		
			return;
		}

	}
}
Imports System
Imports System.Messaging



Public Class MyNewQueue


        
        ' Provides an entry point into the application.
        '		 
        ' This example verifies existence and attempts to 
        ' delete a queue.
        

        Public Shared Sub Main()

            ' Determine whether the queue exists.
            If MessageQueue.Exists(".\myQueue") Then

                Try

                    ' Delete the queue.
                    MessageQueue.Delete(".\myQueue")

                Catch e As MessageQueueException

                    If e.MessageQueueErrorCode = _
                        MessageQueueErrorCode.AccessDenied Then

                        Console.WriteLine("Access is denied. " _
                            + "Queue might be a system queue.")
                    End If

                    ' Handle other sources of exceptions as necessary.

                End Try

            End If


            Return

        End Sub 'Main

End Class 'MyNewQueue 

注解

MessageQueueErrorCode枚举提供了有关的错误条件在消息传送操作过程的详细的信息。The MessageQueueErrorCode enumeration gives detailed information about an error condition during a messaging operation.

MessageQueueException使用MessageQueueErrorCode属性来确定消息队列错误的本质。The MessageQueueException uses the MessageQueueErrorCode property to identify the nature of the Message Queuing error. MessageQueueErrorCode值确定要与错误关联的文本字符串。The MessageQueueErrorCode value determines a text string to associate with the error.

适用于

另请参阅