ModelRegistrationException Constructor (String, Exception)
Initializes a new instance of the ModelRegistrationException class.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public ModelRegistrationException(
string message,
Exception innerException
)
public:
ModelRegistrationException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ModelRegistrationException
public function ModelRegistrationException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
The error message.
- innerException
Type: System.Exception
The nested 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
ModelRegistrationException Class