InvalidSolverPropertyException Constructor (String, Exception, 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, _
ex As Exception, _
reason As InvalidSolverPropertyReason _
)
public InvalidSolverPropertyException(
string message,
Exception ex,
InvalidSolverPropertyReason reason
)
public:
InvalidSolverPropertyException(
String^ message,
Exception^ ex,
InvalidSolverPropertyReason reason
)
new :
message:string *
ex:Exception *
reason:InvalidSolverPropertyReason -> InvalidSolverPropertyException
public function InvalidSolverPropertyException(
message : String,
ex : Exception,
reason : InvalidSolverPropertyReason
)
Parameters
- message
Type: System.String
An error message that explains the reason for the exception.
- ex
Type: System.Exception
The exception that is the cause of the current exception, or nulla null reference (Nothing in Visual Basic) if no inner exception is specified.
- reason
Type: Microsoft.SolverFoundation.Common.InvalidSolverPropertyReason
The reason for the exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
InvalidSolverPropertyException Class