DataSchemaException Constructor (String, Exception)
Creates a new instance of the DataSchemaException class by using the provided message and inner exception.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public DataSchemaException(
string message,
Exception innerException
)
public:
DataSchemaException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> DataSchemaException
public function DataSchemaException(
message : String,
innerException : Exception
)
Parameters
- message
Type: System.String
A string that indicates the reason for the exception.
- innerException
Type: System.Exception
A 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.