MethodInvocationException Constructor

Creates a new MethodInvocationException 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 ETS, see ETS Methods.

NameDescription
MethodInvocationException ()Creates a new MethodInvocationException object that is empty.
MethodInvocationException (SerializationInfo, StreamingContext)Creates a new MethodInvocationException object that contains information read from the provided serialization information.
MethodInvocationException (String)Creates a new MethodInvocationException object that contains an exception message.
MethodInvocationException (String, Exception)Creates a new MethodInvocationException 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