Class TimeoutException
Thrown whenever an API fails.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class TimeoutException : CacheException, ISerializable, _Exception
TimeoutException()
default constructor.
Declaration
public TimeoutException()
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 |
GetObjectData(SerializationInfo, StreamingContext)
manual serialization
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |