SyncId 建構 (SerializationInfo, StreamingContext)
使用序列化資料初始化 SyncId 類別的新執行個體。
命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)
語法
'宣告
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'用途
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SyncId(info, context)
protected SyncId (
SerializationInfo info,
StreamingContext context
)
protected:
SyncId (
SerializationInfo^ info,
StreamingContext context
)
protected SyncId (
SerializationInfo info,
StreamingContext context
)
protected function SyncId (
info : SerializationInfo,
context : StreamingContext
)
參數
- info
SerializationInfo 物件,它會保存有關所擲回之例外狀況的序列化物件資料。
- context
StreamingContext 物件,此物件包含有關來源或目的地的內容資訊。