DbNotProvisionedException 建構 (SerializationInfo, StreamingContext)
使用序列化資訊和資料流內容參數,初始化 DbNotProvisionedException 類別的新執行個體。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 Microsoft.Synchronization.Data.dll 中)
語法
'宣告
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'用途
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New DbNotProvisionedException(info, context)
protected DbNotProvisionedException(
SerializationInfo info,
StreamingContext context
)
protected:
DbNotProvisionedException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> DbNotProvisionedException
protected function DbNotProvisionedException(
info : SerializationInfo,
context : StreamingContext
)
參數
- info
型別:System.Runtime.Serialization. . :: . .SerializationInfo
要填入資料的 SerializationInfo 物件。
- context
型別:System.Runtime.Serialization. . :: . .StreamingContext
此序列化的目的地 (請參閱 StreamingContext)。