Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.