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!

ArgumentException.ParamName

Retrieves the name of the parameter that caused this exception to be thrown.

[Visual Basic]
Overridable Public ReadOnly Property ParamName As String
[C#]
public string ParamName {virtual get;}
[C++]
public: __property virtual String* get_ParamName();
[JScript]
public function get ParamName() : String;

Remarks

Overrides Message.

Every ArgumentException should carry the name of the parameter that causes the exception to be thrown, in addition to a message string that describes the expected values of the parameter.

This is a message string with a new line character followed by the parameter name. If a parameter name was not specified when the object was constructed, the value consists only of the message string.

See Also

ArgumentException Class | ArgumentException Members | System Namespace