InvalidSolverPropertyException Constructor (String, Exception)
[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 _
)
public InvalidSolverPropertyException(
string message,
Exception ex
)
public:
InvalidSolverPropertyException(
String^ message,
Exception^ ex
)
new :
message:string *
ex:Exception -> InvalidSolverPropertyException
public function InvalidSolverPropertyException(
message : String,
ex : Exception
)
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.
.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