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 不會傳回這個錯誤碼。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.
此錯誤僅適用於 Message Queuing 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

訊息文字:因為 .ini 檔已損毀,所以已刪除 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. 此錯誤僅適用於 Message Queuing 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 Distributed Transaction Coordinator,訊息佇列就會傳回此錯誤。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. 此錯誤僅適用於 Message Queuing 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. 此錯誤僅適用於 Message Queuing 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.
例如,如果您嘗試擷取執行 Message Queuing 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. 此錯誤僅適用於 Message Queuing 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. 這包括未在目錄服務中註冊的公用佇列,以及不存在於訊息佇列命名空間的網際網路佇列。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

訊息文字:工作群組安裝電腦不支援此作業。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.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

End Class

備註

MessageQueueErrorCode列舉會在訊息作業期間提供有關錯誤狀況的詳細資訊。The MessageQueueErrorCode enumeration gives detailed information about an error condition during a messaging operation.

MessageQueueExceptionMessageQueueErrorCode使用屬性來識別訊息佇列錯誤的性質。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.

適用於

另請參閱