ModelSerializationException Constructor (String, Exception, Int32, Int32)
Initializes a new instance of the ModelSerializationException 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, _
lineNumber As Integer, _
linePosition As Integer _
)
public ModelSerializationException(
string message,
Exception innerException,
int lineNumber,
int linePosition
)
public:
ModelSerializationException(
String^ message,
Exception^ innerException,
int lineNumber,
int linePosition
)
new :
message:string *
innerException:Exception *
lineNumber:int *
linePosition:int -> ModelSerializationException
public function ModelSerializationException(
message : String,
innerException : Exception,
lineNumber : int,
linePosition : int
)
Parameters
- message
Type: System.String
The error message.
- innerException
Type: System.Exception
The nested exception.
- lineNumber
Type: System.Int32
The line number.
- linePosition
Type: System.Int32
The position in the line.
.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
ModelSerializationException Class