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!

NotFiniteNumberException Constructor (String, Double)

Initializes a new NotFiniteNumberException with a message about the offending number.

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

Parameters

message
The message that indicates the reason the exception occurred.
offendingNumber
The double that is not a finite number.

Remarks

The message parameter contains a message about the reason for the exception.

The offendingNumber parameter must be a Double and a finite number.

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

Property Value
InnerException null
Message The empty string.

See Also

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