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!

ExternalException Constructor (String, Int32)

Initializes a new instance of the ExternalException class with a specified message and error code.

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

Parameters

message
The message that indicates the reason the exception occurred.
errorCode
[To be supplied.]

Remarks

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

Property Value
InnerException a null reference (in Visual Basic Nothing).
Message The message string.

See Also

ExternalException Class | ExternalException Members | System.Runtime.InteropServices Namespace | ExternalException Constructor Overload List