MethodException Class

Definition

Defines the exception thrown for Method related errors

public class MethodException : System.Management.Automation.ExtendedTypeSystemException
Inheritance
Derived

Inherited Members

System.Management.Automation.RuntimeException

Constructors

MethodException()

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

MethodException(String)

Initializes a new instance of MethodException setting the message

MethodException(SerializationInfo, StreamingContext)

Initializes a new instance of MethodException with serialization parameters

MethodException(String, Exception)

Initializes a new instance of MethodException setting the message and innerException