Export (0) Print
Expand All

MessagingFactorySettings.OperationTimeout Property

Gets or sets the TimeSpan that specifies how long the messaging operation has to complete before timing out.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

'Declaration
Public Property OperationTimeout As TimeSpan
	Get
	Set
'Usage
Dim instance As MessagingFactorySettings
Dim value As TimeSpan

value = instance.OperationTimeout

instance.OperationTimeout = value

Property Value

Type: System.TimeSpan
The TimeSpan that specifies how long the messaging operation has to complete before timing out. The default value is one minute.

ExceptionCondition
ArgumentNullException

A null is set; for example, a nullable TimeSpan.

ArgumentOutOfRangeException

A zero or negative TimeSpan is set.

Community Additions

ADD
Show:
© 2014 Microsoft