Class InvalidReaderException
Thrown whenever one of the data partition goes down
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class InvalidReaderException : OperationFailedException
Constructors
InvalidReaderException()
default constructor.
Declaration
public InvalidReaderException()
InvalidReaderException(SerializationInfo, StreamingContext)
Declaration
public InvalidReaderException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
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 |
Exception | inner | nested exception |
Methods
GetObjectData(SerializationInfo, StreamingContext)
manual serialization
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |