Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
获取消息的到期时间。
public virtual qa_long getExpiration()
到期时间。
发送消息时,Expiration 标头字段保留未指派状态。发送方法完成后,Expiration 标头保存消息的到期时间。
此属性为只读,因为消息的到期时间是通过将 QAManagerBase::putMessageTimeToLive 的生存期参数值和当前时间相加来设置的。
到期时间的单位符合平台要求。对于 Windows/PocketPC 平台,到期时间为 SYSTEMTIME,将被转换为 FILETIME 并复制到 qa_long 值中。
有关获取和设置消息标头和属性的详细信息,请参见QAnywhere 消息。