MsfException 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 MsfException class.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public MsfException(
string message,
Exception innerException
)
public:
MsfException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> MsfException
public function MsfException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
An error message that explains the reason for the exception.
- innerException
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.