共用方式為


ChangeBatchIsReadOnlyException 建構 (SerializationInfo, StreamingContext)

使用序列化資料初始化 ChangeBatchIsReadOnlyException 類別的新執行個體。

命名空間: 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 ChangeBatchIsReadOnlyException(info, context)
protected ChangeBatchIsReadOnlyException (
    SerializationInfo info,
    StreamingContext context
)
protected:
ChangeBatchIsReadOnlyException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected ChangeBatchIsReadOnlyException (
    SerializationInfo info, 
    StreamingContext context
)
protected function ChangeBatchIsReadOnlyException (
    info : SerializationInfo, 
    context : StreamingContext
)

參數

  • info
    SerializationInfo 物件,它會保存有關所擲回之例外狀況的序列化物件資料。
  • context
    StreamingContext 物件,此物件包含有關來源或目的地的內容資訊。

請參閱

參考

ChangeBatchIsReadOnlyException 類別
ChangeBatchIsReadOnlyException 成員
Microsoft.Synchronization 命名空間