Class SuspectedException
This exception is thrown whenever an API fails.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class SuspectedException : CacheException, ISerializable, _Exception
              Constructors
SuspectedException(Int32, String)
Overloaded constructor, takes the reason as parameter.
Declaration
public SuspectedException(int errorCode, string reason)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | |
| System.String | reason | 
SuspectedException(Int32, String, String)
Overloaded constructor
Declaration
public SuspectedException(int errorCode, string reason, string stackTrace)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorCode | assigned errorcode  | 
                  
| System.String | reason | exception message  | 
                  
| System.String | stackTrace | stacktrace  | 
                  
SuspectedException(SerializationInfo, StreamingContext)
Overloaded constructor, manual serialization.
Declaration
protected SuspectedException(SerializationInfo info, StreamingContext context)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
SuspectedException(String)
Overloaded constructor, takes the reason as parameter.
Declaration
public SuspectedException(string reason)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | reason |