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(Int32)
overloaded constructor
Declaration
public InvalidReaderException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
InvalidReaderException(Int32, String)
Overloaded Constructor
Declaration
public InvalidReaderException(int errorCode, string reason)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
InvalidReaderException(Int32, String, Exception)
Overloaded Constructor
Declaration
public InvalidReaderException(int errorCode, string reason, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
Exception | inner | nested exception |
InvalidReaderException(Int32, String, String)
Overloaded constructor
Declaration
public InvalidReaderException(int errorCode, string reason, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | Assigned ErrorCode |
System.String | reason | Exception message |
System.String | stackTrace | Stacktrace |
InvalidReaderException(SerializationInfo, StreamingContext)
Declaration
public InvalidReaderException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |