PSArgumentException Class
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.
This is a wrapper for exception class ArgumentException which provides additional information via IContainsErrorRecord.
public ref class PSArgumentException : ArgumentException, System::Management::Automation::IContainsErrorRecord
[System.Serializable]
public class PSArgumentException : ArgumentException, System.Management.Automation.IContainsErrorRecord
public class PSArgumentException : ArgumentException, System.Management.Automation.IContainsErrorRecord
[<System.Serializable>]
type PSArgumentException = class
inherit ArgumentException
interface IContainsErrorRecord
type PSArgumentException = class
inherit ArgumentException
interface IContainsErrorRecord
Public Class PSArgumentException
Inherits ArgumentException
Implements IContainsErrorRecord
- Inheritance
-
PSArgumentException
- Attributes
- Implements
Instances of this exception class are usually generated by the PowerShell Engine. It is unusual for code outside the PowerShell Engine to create an instance of this class.
PSArgument |
Initializes a new instance of the PSArgumentException class. |
PSArgument |
Obsolete.
Initializes a new instance of the PSArgumentException class using data serialized via ISerializable |
PSArgument |
Initializes a new instance of the PSArgumentException class. |
PSArgument |
Initializes a new instance of the PSArgumentException class. |
PSArgument |
Initializes a new instance of the PSArgumentException class. |
Error |
Additional information about the error. |
Message |
See Message |
Get |
Serializer for ISerializable |
Producto | Versiones |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |