MsmqBindingElementBase.DeadLetterQueue 属性
定义
获取或设置此绑定的 DeadLetterQueue 设置。Gets or sets the DeadLetterQueue setting for this binding.
public:
property System::ServiceModel::DeadLetterQueue DeadLetterQueue { System::ServiceModel::DeadLetterQueue get(); void set(System::ServiceModel::DeadLetterQueue value); };
public System.ServiceModel.DeadLetterQueue DeadLetterQueue { get; set; }
member this.DeadLetterQueue : System.ServiceModel.DeadLetterQueue with get, set
Public Property DeadLetterQueue As DeadLetterQueue
属性值
要使用的死信队列(如果有的话)的类型。The type of dead-letter queue to use, if any.
例外
该值不在 DeadLetterQueue 中定义的值范围之内。The value is not within the range of values defined in DeadLetterQueue.
注解
死信队列是由发送应用程序的队列管理器管理的队列,可以存储未能传递或已过期的消息。The dead-letter queue is a queue managed by the sending application's queue manager that stores messages that have failed to be delivered or have expired. 造成消息未能到达接收应用程序的原因包括:The reasons that a message can fail to reach the receiving application include:
事务性消息被发送到非事务性队列中。A transactional message is sent to a non-transactional queue.
非事务性消息被发送到事务性队列中。A non-transactional message is sent to a transactional queue.
未经身份验证的消息被发送到仅接受经过身份验证的消息的队列中。An unauthenticated message is sent to a queue that accepts only authenticated messages.
未加密的消息被发送到仅接受加密消息的队列中。An unencrypted message is sent to a queue that accepts only encrypted messages.
消息在传递给接收方之前过期。The message expires before the message is delivered to a receiver.
超出了目标计算机的消息存储配额或目标队列的存储配额,或者在消息到达时目标计算机上没有可用的存储空间。The message storage quota of the target computer or the storage quota of the destination queue is exceeded, or there is no available storage space on the target computer when the message arrives.
发送方没有将消息放入目标队列所需的 访问权限 。The sender does not have the access rights required to place the message in the destination queue.
附加在消息上的数字签名无效。The digital signature attached to the message is not valid.
加密的消息不能由目标队列管理器解密。An encrypted message cannot be decrypted by the destination queue manager.
目标队列在检索消息之前被清除或删除。The destination queue is purged or deleted before the message is retrieved.