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!

InvalidOperationException Constructor (String)

Initializes an instance of InvalidOperationException with a specified message.

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

Parameters

message
The message that identifies the reason the exception occurred.

Remarks

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

Property Type Condition
InnerException null
Message The message string.

See Also

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