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