Leer en inglés

Compartir a través de


PSArgumentOutOfRangeException Class

Definition

This is a wrapper for exception class ArgumentOutOfRangeException which provides additional information via IContainsErrorRecord.

C++
public ref class PSArgumentOutOfRangeException : ArgumentOutOfRangeException, System::Management::Automation::IContainsErrorRecord
Inheritance
PSArgumentOutOfRangeException
Attributes
Implements

Remarks

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.

Constructors

PSArgumentOutOfRangeException()

Constructor for class PSArgumentOutOfRangeException.

PSArgumentOutOfRangeException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the PSArgumentOutOfRangeException class using data serialized via ISerializable

PSArgumentOutOfRangeException(String, Exception)

Initializes a new instance of the PSArgumentOutOfRangeException class.

PSArgumentOutOfRangeException(String, Object, String)

Initializes a new instance of the PSArgumentOutOfRangeException class.

PSArgumentOutOfRangeException(String)

Initializes a new instance of the PSArgumentOutOfRangeException class.

Properties

ErrorRecord

Additional information about the error.

Methods

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0