SqlCeInvalidDatabaseFormatException 构造函数
有助于序列化的构造函数。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SqlCeInvalidDatabaseFormatException(info, context)
protected SqlCeInvalidDatabaseFormatException(
SerializationInfo info,
StreamingContext context
)
protected:
SqlCeInvalidDatabaseFormatException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SqlCeInvalidDatabaseFormatException
protected function SqlCeInvalidDatabaseFormatException(
info : SerializationInfo,
context : StreamingContext
)
参数
- info
类型:System.Runtime.Serialization.SerializationInfo
序列化信息。
- context
类型:System.Runtime.Serialization.StreamingContext
流上下文。