The exception that is thrown when the time allotted for a process or operation has expired.
More...
|
| TimeoutException () |
| Initializes a new instance of the T:System.TimeoutException class. More...
|
|
| TimeoutException (string message) |
| Initializes a new instance of the T:System.TimeoutException class with the specified error message. More...
|
|
| TimeoutException (string message, Exception innerException) |
| Initializes a new instance of the T:System.TimeoutException class with the specified error message and inner exception. More...
|
|
| SystemException () |
| Initializes a new instance of the T:System.SystemException class. More...
|
|
| SystemException (string message) |
| Initializes a new instance of the T:System.SystemException class with a specified error message. More...
|
|
| SystemException (string message, Exception innerException) |
| Initializes a new instance of the T:System.SystemException class with a specified error message and a reference to the inner exception that is the cause of this exception. More...
|
|
| Exception () |
| Initializes a new instance of the T:System.Exception class. More...
|
|
| Exception (string message) |
| Initializes a new instance of the T:System.Exception class with a specified error message. More...
|
|
| Exception (string message, Exception innerException) |
| Initializes a new instance of the T:System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception. More...
|
|
virtual Exception | GetBaseException () |
| When overridden in a derived class, returns the T:System.Exception that is the root cause of one or more subsequent exceptions. More...
|
|
override string | ToString () |
| Creates and returns a string representation of the current exception. More...
|
|
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
| When overridden in a derived class, sets the T:System.Runtime.Serialization.SerializationInfo with information about the exception. More...
|
|
new Type | GetType () |
| Gets the runtime type of the current instance. More...
|
|
new bool | Equals (object obj) |
| Provides COM objects with version-independent access to the M:System.Object.Equals(System.Object) method. More...
|
|
new int | GetHashCode () |
| Provides COM objects with version-independent access to the M:System.Object.GetHashCode method. More...
|
|
|
virtual string | Message [get] |
| Gets a message that describes the current exception. More...
|
|
virtual IDictionary | Data [get] |
| Gets a collection of key/value pairs that provide additional user-defined information about the exception. More...
|
|
Exception | InnerException [get] |
| Gets the T:System.Exception instance that caused the current exception. More...
|
|
MethodBase | TargetSite [get] |
| Gets the method that throws the current exception. More...
|
|
virtual string | StackTrace [get] |
| Gets a string representation of the immediate frames on the call stack. More...
|
|
virtual string | HelpLink [get, set] |
| Gets or sets a link to the help file associated with this exception. More...
|
|
virtual string | Source [get, set] |
| Gets or sets the name of the application or the object that causes the error. More...
|
|
int | HResult [get, protected set] |
| Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. More...
|
|
EventHandler< SafeSerializationEventArgs > | SerializeObjectState |
| Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. More...
|
|
string | Message [get] |
| Provides COM objects with version-independent access to the P:System.Exception.Message property. More...
|
|
string | StackTrace [get] |
| Provides COM objects with version-independent access to the P:System.Exception.StackTrace property. More...
|
|
string | HelpLink [get, set] |
| Provides COM objects with version-independent access to the P:System.Exception.HelpLink property. More...
|
|
string | Source [get, set] |
| Provides COM objects with version-independent access to the P:System.Exception.Source property. More...
|
|
Exception | InnerException [get] |
| Provides COM objects with version-independent access to the P:System.Exception.InnerException property. More...
|
|
MethodBase | TargetSite [get] |
| Provides COM objects with version-independent access to the P:System.Exception.TargetSite property. More...
|
|
The exception that is thrown when the time allotted for a process or operation has expired.
Definition at line 10 of file TimeoutException.cs.
◆ TimeoutException() [1/4]
System.TimeoutException.TimeoutException |
( |
| ) |
|
Initializes a new instance of the T:System.TimeoutException class.
Definition at line 14 of file TimeoutException.cs.
◆ TimeoutException() [2/4]
System.TimeoutException.TimeoutException |
( |
string |
message | ) |
|
Initializes a new instance of the T:System.TimeoutException class with the specified error message.
- Parameters
-
message | The message that describes the error. |
Definition at line 23 of file TimeoutException.cs.
◆ TimeoutException() [3/4]
System.TimeoutException.TimeoutException |
( |
string |
message, |
|
|
Exception |
innerException |
|
) |
| |
Initializes a new instance of the T:System.TimeoutException class with the specified error message and inner exception.
- Parameters
-
message | The message that describes the error. |
innerException | The exception that is the cause of the current exception. If the innerException parameter is not null , the current exception is raised in a catch block that handles the inner exception. |
Definition at line 33 of file TimeoutException.cs.
◆ TimeoutException() [4/4]
Initializes a new instance of the T:System.TimeoutException class with serialized data.
- Parameters
-
info | The T:System.Runtime.Serialization.SerializationInfo object that contains serialized object data about the exception being thrown. |
context | The T:System.Runtime.Serialization.StreamingContext object that contains contextual information about the source or destination. The context parameter is reserved for future use, and can be specified as null . |
- Exceptions
-
T:System.ArgumentNullException | The info parameter is null . |
T:System.Runtime.Serialization.SerializationException | The class name is null , or P:System.Exception.HResult is zero (0). |
Definition at line 44 of file TimeoutException.cs.
The documentation for this class was generated from the following file: