OperationTimeout Property
Collapse the table of content
Expand the table of content

IContextChannel.OperationTimeout Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the time period within which an operation must complete or an exception is thrown.

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

'Declaration
Property OperationTimeout As TimeSpan

Property Value

Type: System.TimeSpan
The TimeSpan that specifies the time period within which an operation must complete.

If transaction flow is enabled on the binding or the channel, the operation may take longer to execute than the specified time-out. In these circumstances, the operation fails due to the expired time-out and the transaction aborts appropriately.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft