Export (0) Print
Expand All

MethodException Constructor

Creates a new MethodException object. The variants of this constructor can be used to create an empty object, an object that contains an exception message, and more.

For more information about the different types of methods used within the extended type system, see ETS Methods.

NameDescription
MethodException ()Creates a new MethodException object that is empty.
MethodException (SerializationInfo, StreamingContext)Creates a new MethodException object that contains information read from the provided serialization information.
MethodException (String)Creates a new MethodException object that contains an exception message.
MethodException (String, Exception)Creates a new MethodException object that contains an exception message and the inner exception that caused this exception to be thrown.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft