Class InvalidReaderException
Thrown whenever one of the data partition goes down
Inheritance
System.Object
System.Exception
InvalidReaderException
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Serializable]
public class InvalidReaderException : OperationFailedException, ISerializable, _Exception
InvalidReaderException()
default constructor.
Declaration
public InvalidReaderException()
InvalidReaderException(SerializationInfo, StreamingContext)
Declaration
public InvalidReaderException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
InvalidReaderException(String)
overloaded constructor, takes the reason as parameter.
Declaration
public InvalidReaderException(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
InvalidReaderException(String, Exception)
overloaded constructor.
Declaration
public InvalidReaderException(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 override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |