ApplyChangeFailedEventArgs 建構函式
使用資料表中繼資料、衝突、錯誤、工作階段、內容、連接和交易參數,初始化 ApplyChangeFailedEventArgs 類別的新執行個體。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)
語法
'宣告
Public Sub New ( _
tableMetadata As SyncTableMetadata, _
syncConflict As SyncConflict, _
error As Exception, _
syncSession As SyncSession, _
syncContext As SyncContext, _
connection As IDbConnection, _
transaction As IDbTransaction _
)
'用途
Dim tableMetadata As SyncTableMetadata
Dim syncConflict As SyncConflict
Dim error As Exception
Dim syncSession As SyncSession
Dim syncContext As SyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction
Dim instance As New ApplyChangeFailedEventArgs(tableMetadata, syncConflict, error, syncSession, syncContext, connection, transaction)
public ApplyChangeFailedEventArgs (
SyncTableMetadata tableMetadata,
SyncConflict syncConflict,
Exception error,
SyncSession syncSession,
SyncContext syncContext,
IDbConnection connection,
IDbTransaction transaction
)
public:
ApplyChangeFailedEventArgs (
SyncTableMetadata^ tableMetadata,
SyncConflict^ syncConflict,
Exception^ error,
SyncSession^ syncSession,
SyncContext^ syncContext,
IDbConnection^ connection,
IDbTransaction^ transaction
)
public ApplyChangeFailedEventArgs (
SyncTableMetadata tableMetadata,
SyncConflict syncConflict,
Exception error,
SyncSession syncSession,
SyncContext syncContext,
IDbConnection connection,
IDbTransaction transaction
)
public function ApplyChangeFailedEventArgs (
tableMetadata : SyncTableMetadata,
syncConflict : SyncConflict,
error : Exception,
syncSession : SyncSession,
syncContext : SyncContext,
connection : IDbConnection,
transaction : IDbTransaction
)
參數
- tableMetadata
包含中繼資料的 SyncTableMetaData 物件,例如同步處理的方向。
- syncConflict
SyncConflict 物件,此物件包含同步處理期間發生之任何衝突的相關中繼資料。
- error
Exception 物件,此物件包含同步處理期間發生之任何例外狀況 (Exception) 的相關中繼資料。
- syncSession
包含有關目前同步處理工作階段之中繼資料的 SyncSession 物件。
- syncContext
包含同步處理工作階段之資料變更和錨定值及其他中繼資料的 SyncContext 物件。
- connection
包含與用戶端或伺服器資料庫之連接的 IDbConnection 物件。
- transaction
包含嘗試變更資料表之所在交易的 IDbTransaction 物件。
請參閱
參考
ApplyChangeFailedEventArgs 類別
ApplyChangeFailedEventArgs 成員
Microsoft.Synchronization.Data 命名空間