TimeoutException Class
The exception that is thrown when a specified timeout has expired.
For a list of all members of this type, see TimeoutException Members.
System.Object
System.Exception
System.SystemException
System.ServiceProcess.TimeoutException
[Visual Basic] <Serializable> Public Class TimeoutException Inherits SystemException [C#] [Serializable] public class TimeoutException : SystemException [C++] [Serializable] public __gc class TimeoutException : public SystemException [JScript] public Serializable class TimeoutException extends SystemException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The TimeoutException class can specify a message to describe the source of the exception. When a method throws this exception, the message is usually "The timeout provided has expired and the operation has not been completed."
This class is used, for example, by the ServiceController class's WaitForStatus member. The operation that can throw the exception is a change of the service's Status property (for example, from Paused to ContinuePending).
Requirements
Namespace: System.ServiceProcess
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Serviceprocess (in System.Serviceprocess.dll)
See Also
TimeoutException Members | System.ServiceProcess Namespace | WaitForStatus | Status | ServiceController | ServiceControllerStatus