Version

Timeout Property

Specifies the amount of time for which an inactive asynchronous operation will wait before throwing an exception.
Syntax
'Declaration
 
Public Property Timeout As TimeSpan
public TimeSpan Timeout {get; set;}
Remarks

When an asynchronous task is executed, the amount of time it takes to process the request is dependent on various factors, such as current server load, server processor capabilities, network bandwidth, etc.

If an asynchronous task spends more time in the 'waiting for activation' state than is allowed by the value of this property, a TimeoutException is thrown.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also