Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
获取消息的有效期值。
Public ReadOnly Property Expiration As Date
public DateTime Expiration {get;}
发送消息时,Expiration 标头字段保留未指派状态。发送方法完成后,它保留消息的到期时间。
它是一个只读属性,因为消息的到期时间是通过将 QAManagerBase.PutMessageTimeToLive 的生存期参数值与当前时间相加而设置的。
有关获取和设置消息标头和属性的详细信息,请参见QAnywhere 消息。