MethodException 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 related errors.
public ref class MethodException : System::Management::Automation::ExtendedTypeSystemException
[System.Serializable]
public class MethodException : System.Management.Automation.ExtendedTypeSystemException
public class MethodException : System.Management.Automation.ExtendedTypeSystemException
[<System.Serializable>]
type MethodException = class
inherit ExtendedTypeSystemException
type MethodException = class
inherit ExtendedTypeSystemException
Public Class MethodException
Inherits ExtendedTypeSystemException
- Inheritance
- Derived
- Attributes
Constructors
MethodException() |
Initializes a new instance of MethodException with the message set to typeof(MethodException).FullName. |
MethodException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of MethodException with serialization parameters. |
MethodException(String, Exception) |
Initializes a new instance of MethodException setting the message and innerException. |
MethodException(String) |
Initializes a new instance of MethodException 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) |