Retrieves the message text for this exception or indicates an empty string if no message is set.
[Visual Basic] Overridable Public ReadOnly Property Message As String [C#] public string Message {override get;} [C++] public: __property virtual String* get_Message(); [JScript] public function get Message() : String;
The ActualValue property retrieves the message text for this exception. The value of this property takes one of two forms:
Property Type | Condition |
---|---|
If ActualValue is null | Then it consists of the string passed to the constructor as the message. |
If ActualValue is non-null | Then it consists of the string passed to the constructor as the message with "Actual value was " followed by ActualValue:ToString() appended. |
Overrides Message.
ArgumentOutOfRangeException Class | ArgumentOutOfRangeException Members | System Namespace