InvalidSolverPropertyException Constructor (String, InvalidSolverPropertyReason)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the InvalidSolverPropertyException class.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    reason As InvalidSolverPropertyReason _
)
public InvalidSolverPropertyException(
    string message,
    InvalidSolverPropertyReason reason
)
public:
InvalidSolverPropertyException(
    String^ message, 
    InvalidSolverPropertyReason reason
)
new : 
        message:string * 
        reason:InvalidSolverPropertyReason -> InvalidSolverPropertyException
public function InvalidSolverPropertyException(
    message : String, 
    reason : InvalidSolverPropertyReason
)

Parameters

  • message
    Type: System.String
    An error message that explains the reason for the exception.

.NET Framework Security

See Also

Reference

InvalidSolverPropertyException Class

InvalidSolverPropertyException Overload

Microsoft.SolverFoundation.Common Namespace