NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArgumentOutOfRangeException Constructor (String)

Initializes a new instance of the ArgumentOutOfRangeException class using the parameter name.

[Visual Basic]
Overloads Public Sub New( _
   ByVal parameterName As String _
)
[C#]
public ArgumentOutOfRangeException(
   string parameterName
);
[C++]
public: ArgumentOutOfRangeException(
   String* parameterName
);
[JScript]
public function ArgumentOutOfRangeException(
   parameterName : String
);

Parameters

parameterName
The parameter that is out of range. The ParamName property is set to this value.

Remarks

ArgumentOutOfRangeException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:

Property Type Condition
InnerException null
Message The empty string.
ParamName The parameter name string.

See Also

ArgumentOutOfRangeException Class | ArgumentOutOfRangeException Members | System Namespace | ArgumentOutOfRangeException Constructor Overload List