Constructor CorException
CorException()
Initializes a new instance of the CorException.
public CorException()
CorException(string)
Initializes a new instance of the CorException with the specified error message.
public CorException(string message)
Parameters
message
stringThe message that describes the error.
CorException(string, Exception)
Initializes a new instance of the CorException with the specified error message and inner Exception.
public CorException(string message, Exception innerException)
Parameters
message
stringThe message that describes the error.
innerException
ExceptionThe exception that is the cause of the current exception.
CorException(SerializationInfo, StreamingContext)
Initializes a new instance of the CorException class with serialized data.
protected CorException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.