IContextChannel.OperationTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the time period within which an operation must complete or an exception is thrown.
public:
property TimeSpan OperationTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan OperationTimeout { get; set; }
member this.OperationTimeout : TimeSpan with get, set
Public Property OperationTimeout As TimeSpan
Property Value
The TimeSpan that specifies the time period within which an operation must complete.
Remarks
If transaction flow is enabled on the binding or the channel, the operation may take longer to execute than the specified timeout. In these circumstances the operation will fail due to the expired timeout and the transaction will abort appropriately.