MsmqBindingBase.ValidityDuration Property

.NET Framework (current version)

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public TimeSpan ValidityDuration { get; set; }

Property Value

Type: System.TimeSpan

A timespan object.


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.

.NET Framework
Available since 4.0
Return to top