System.TimeoutException Class

The exception that is thrown when the time allotted for a process or operation has expired.

See Also: TimeoutException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class TimeoutException : SystemException

Remarks

For information about setting the time-out interval before a TimeoutException exception is thrown, consult the documentation for the type whose method timed out. For information about handling the time-out, see the documentation for the method that threw the exception.

TimeoutException uses the HRESULT, COR_E_TIMEOUT, which has the value 0x80131505.

For a list of initial property values for an instance of TimeoutException, see the erload:System.TimeoutException.#ctor constructors.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0