MsmqBindingBase.ValidityDuration Property

Definition

Gets or sets a value that specifies the duration a message will be locked by the receive context feature.

C#
public TimeSpan ValidityDuration { get; set; }

Property Value

A timespan object.

Remarks

重要

If ValidityDuration expires for a message, any transaction that may be used for its processing will be aborted along with the workflow instance if the expiration occurs during the transaction.

Applies to

產品 版本
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1