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 Constructor (String)

Initializes a new instance of the ArgumentException class with a specified message.

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

Parameters

message
The message that indicates the reason the exception occurred.

Remarks

This constructor creates an new ArugmentException with its message set to the message.

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

Property Type Condition
InnerException null
Message The message string.

See Also

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