MethodInvocationException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the exception thrown for Method invocation exceptions.
public ref class MethodInvocationException : System::Management::Automation::MethodException
[System.Serializable]
public class MethodInvocationException : System.Management.Automation.MethodException
public class MethodInvocationException : System.Management.Automation.MethodException
[<System.Serializable>]
type MethodInvocationException = class
inherit MethodException
type MethodInvocationException = class
inherit MethodException
Public Class MethodInvocationException
Inherits MethodException
- Inheritance
-
MethodInvocationException
- Attributes
Constructors
MethodInvocationException() |
Initializes a new instance of MethodInvocationException with the message set to typeof(MethodInvocationException).FullName. |
MethodInvocationException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of MethodInvocationException with serialization parameters. |
MethodInvocationException(String, Exception) |
Initializes a new instance of MethodInvocationException setting the message and innerException. |
MethodInvocationException(String) |
Initializes a new instance of MethodInvocationException setting the message. |
Properties
ErrorRecord |
Additional information about the error. (Inherited from RuntimeException) |
WasThrownFromThrowStatement | (Inherited from RuntimeException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable (Inherited from RuntimeException) |