PSArgumentOutOfRangeException Class

Definition

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

public class PSArgumentOutOfRangeException : ArgumentOutOfRangeException, System.Management.Automation.IContainsErrorRecord
Inheritance
PSArgumentOutOfRangeException
Implements

Remarks

Instances of this exception class are usually generated by the Monad Engine. It is unusual for code outside the Monad Engine to create an instance of this class.

Constructors

PSArgumentOutOfRangeException()

Constructor for class PSArgumentOutOfRangeException

PSArgumentOutOfRangeException(String)

Initializes a new instance of the PSArgumentOutOfRangeException class.

PSArgumentOutOfRangeException(SerializationInfo, StreamingContext)

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.

Properties

ErrorRecord

Additional information about the error

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable