Export (0) Print
Expand All

MsmqElementBase.ValidityDuration Property

Gets or sets a value that specifies a connection time-out when used with queued channels.

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

[ConfigurationPropertyAttribute("validityDuration", DefaultValue = "00:05:00")]
public TimeSpan ValidityDuration { get; set; }

Property Value

Type: System.TimeSpan
A connection time-out when used with queued channels.

Important noteImportant

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft