Constructs a new DimensionMismatchException.

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	firstDimensionType As DimensionType, _
	firstParameterName As String, _
	secondDimensionType As DimensionType _
)
C#
public DimensionMismatchException (
	DimensionType firstDimensionType,
	string firstParameterName,
	DimensionType secondDimensionType
)
C++
public:
DimensionMismatchException (
	DimensionType firstDimensionType, 
	String^ firstParameterName, 
	DimensionType secondDimensionType
)

Parameters

firstDimensionType (Extreme.Mathematics.DimensionType)
The DimensionType of the first parameter.
firstParameterName (System.String)
The name of the first parameter.
secondDimensionType (Extreme.Mathematics.DimensionType)
The DimensionType of the second parameter.

Remarks

Use this constructor to specify that the second parameter was the instance in whose method the exception occurred.