Constructor InvalidReaderException
InvalidReaderException()
default constructor.
Declaration
public InvalidReaderException()
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 |
InvalidReaderException(SerializationInfo, StreamingContext)
Declaration
public InvalidReaderException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |