MethodInvocationException Class

Definition

Defines the exception thrown for Method invocation exceptions

public class MethodInvocationException : System.Management.Automation.MethodException
Inheritance

Inherited Members

System.Management.Automation.RuntimeException

Constructors

MethodInvocationException()

Initializes a new instance of MethodInvocationException with the message set to typeof(MethodInvocationException).FullName

MethodInvocationException(String)

Initializes a new instance of MethodInvocationException setting the message

MethodInvocationException(SerializationInfo, StreamingContext)

Initializes a new instance of MethodInvocationException with serialization parameters

MethodInvocationException(String, Exception)

Initializes a new instance of MethodInvocationException setting the message and innerException