TimeoutException Class
.NET Framework 3.0
The exception that is thrown when a specified timeout has expired.
Namespace: System.ServiceProcess
Assembly: System.ServiceProcess (in system.serviceprocess.dll)
Assembly: System.ServiceProcess (in system.serviceprocess.dll)
'Declaration <SerializableAttribute> _ Public Class TimeoutException Inherits SystemException 'Usage Dim instance As TimeoutException
/** @attribute SerializableAttribute() */ public class TimeoutException extends SystemException
SerializableAttribute public class TimeoutException extends SystemException
Not applicable.
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).
Community Additions
ADD
Show: