Click or drag to resize
Sandcastle XML Comments GuideCustomException Constructor
There are four overloads for the constructor
Overload List
  NameDescription
Public methodCustomException
Default constructor.
Public methodCustomException(String)
Initializes a new instance of the Exception class with a specified error message.
Protected methodCustomException(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.
Public methodCustomException(String, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Top
See Also