DataSchemaException Constructor (SerializationInfo, StreamingContext)
Creates a new instance of the DataSchemaException class by using the provided information and context.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected DataSchemaException(
SerializationInfo info,
StreamingContext context
)
protected:
DataSchemaException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> DataSchemaException
protected function DataSchemaException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo object that is used by runtime serialization.
- context
Type: System.Runtime.Serialization.StreamingContext
A StreamingContext object that is used by runtime serialization.
.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.