SqlCeException 建構函式
協助序列化的建構函式。
命名空間: 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 SqlCeException(info, context)
protected SqlCeException(
SerializationInfo info,
StreamingContext context
)
protected:
SqlCeException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SqlCeException
protected function SqlCeException(
info : SerializationInfo,
context : StreamingContext
)
參數
- info
型別:System.Runtime.Serialization.SerializationInfo
序列化資訊。
- context
型別:System.Runtime.Serialization.StreamingContext
資料流內容。