Mono Class Library: System.ArgumentOutOfRangeException Overview | Members

System.ArgumentOutOfRangeException.ActualValue Property

Gets the value of the parameter that caused the current exception. [Edit]

public virtual object ActualValue { get; }

Value

A object that contains the value of the parameter that caused the current exception, or null if no value was specified to the constructor for the current instance. [Edit]

Remarks

This property is read-only.

Operation
The ArgumentOutOfRangeException.ActualValue property returns the same value as was passed into the constructor.

Note to Inheritors
Override the ArgumentOutOfRangeException.ActualValue property to customize the content or format of the value.

Usage
Use this property to retrieve the invalid argument.

[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0