Constructor VersionException
VersionException(Int32)
Overloaded constructor that takes the errorcode as an argument
Declaration
public VersionException(int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | ErrorCode for the Exception |
VersionException(String, Int32)
overloaded constructor, takes the reason as parameter.
Declaration
public VersionException(string reason, int errorCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | |
System.Int32 | errorCode |
VersionException(String, Int32, Exception)
overloaded constructor.
Declaration
public VersionException(string reason, int errorCode, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | reason for exception |
System.Int32 | errorCode | |
Exception | inner | nested exception |
VersionException(SerializationInfo, StreamingContext)
Declaration
public VersionException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |