Class TimeoutException
This exception is thrown whenever the response time for an operation exceeds 90 seconds.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class TimeoutException : CacheException, ISerializable, _Exception
              Constructors
TimeoutException()
Default constructor for this class.
Declaration
public TimeoutException()
              TimeoutException(Int32)
Overloaded constructor
Declaration
public TimeoutException(int errorCode)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | assigned errorcode  | 
                  
TimeoutException(Int32, String)
Overloaded constructor
Declaration
public TimeoutException(int errorCode, string reason)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Assigned ErrorCode  | 
                  
| System.String | reason | Exception Message  | 
                  
TimeoutException(Int32, String, Exception)
Overloaded constructor
Declaration
public TimeoutException(int errorCode, string reason, Exception inner)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Assigned errorcode  | 
                  
| System.String | reason | Exception message  | 
                  
| System.Exception | inner | nested exception  | 
                  
TimeoutException(Int32, String, String)
Overloaded constructor
Declaration
public TimeoutException(int errorCode, string reason, string stackTrace)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | Assigned ErrorCode  | 
                  
| System.String | reason | Exception message  | 
                  
| System.String | stackTrace | Stacktrace  | 
                  
TimeoutException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
protected TimeoutException(SerializationInfo info, StreamingContext context)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
TimeoutException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public TimeoutException(string reason)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | reason | 
TimeoutException(String, Exception)
Overloaded constructor.
Declaration
public TimeoutException(string reason, Exception inner)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | reason | Reason for exception  | 
                  
| System.Exception | inner | Nested exception  |