Partilhar via


PSArgumentOutOfRangeException Class

Definition

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

public ref class PSArgumentOutOfRangeException : ArgumentOutOfRangeException, System::Management::Automation::IContainsErrorRecord
[System.Serializable]
public class PSArgumentOutOfRangeException : ArgumentOutOfRangeException, System.Management.Automation.IContainsErrorRecord
public class PSArgumentOutOfRangeException : ArgumentOutOfRangeException, System.Management.Automation.IContainsErrorRecord
[<System.Serializable>]
type PSArgumentOutOfRangeException = class
    inherit ArgumentOutOfRangeException
    interface IContainsErrorRecord
type PSArgumentOutOfRangeException = class
    inherit ArgumentOutOfRangeException
    interface IContainsErrorRecord
Public Class PSArgumentOutOfRangeException
Inherits ArgumentOutOfRangeException
Implements 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

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

Applies to