ArgumentNotFinite Method

Project Mercury API

[This is preliminary documentation and is subject to change.]

Performs a check against a method argument, and throws a NotFiniteNumberException if it is not a finite number eg NaN, PositiveInfinity or NegetiveInfinity.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static void ArgumentNotFinite(
	string parameter,
	float argument
)
Visual Basic (Declaration)
Public Shared Sub ArgumentNotFinite ( _
	parameter As String, _
	argument As Single _
)
Visual C++
public:
static void ArgumentNotFinite(
	String^ parameter, 
	float argument
)

Parameters

parameter
Type: System..::.String
The name of the method parameter.
argument
Type: System..::.Single
The value being passed as an argument.

See Also