DbApplyChangeFailedEventArgs 构造函数
使用表元数据、冲突、错误、会话、上下文、连接和事务参数初始化 DbApplyChangeFailedEventArgs 类的一个新实例。
命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
Public Sub New ( _
dbSyncConflict As DbSyncConflict, _
error As Exception, _
dbSyncSession As DbSyncSession, _
dbSyncContext As DbSyncContext, _
connection As IDbConnection, _
transaction As IDbTransaction _
)
用法
Dim dbSyncConflict As DbSyncConflict
Dim error As Exception
Dim dbSyncSession As DbSyncSession
Dim dbSyncContext As DbSyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction
Dim instance As New DbApplyChangeFailedEventArgs(dbSyncConflict, error, dbSyncSession, dbSyncContext, connection, transaction)
public DbApplyChangeFailedEventArgs (
DbSyncConflict dbSyncConflict,
Exception error,
DbSyncSession dbSyncSession,
DbSyncContext dbSyncContext,
IDbConnection connection,
IDbTransaction transaction
)
public:
DbApplyChangeFailedEventArgs (
DbSyncConflict^ dbSyncConflict,
Exception^ error,
DbSyncSession^ dbSyncSession,
DbSyncContext^ dbSyncContext,
IDbConnection^ connection,
IDbTransaction^ transaction
)
public DbApplyChangeFailedEventArgs (
DbSyncConflict dbSyncConflict,
Exception error,
DbSyncSession dbSyncSession,
DbSyncContext dbSyncContext,
IDbConnection connection,
IDbTransaction transaction
)
public function DbApplyChangeFailedEventArgs (
dbSyncConflict : DbSyncConflict,
error : Exception,
dbSyncSession : DbSyncSession,
dbSyncContext : DbSyncContext,
connection : IDbConnection,
transaction : IDbTransaction
)
参数
- dbSyncConflict
- error
一个 Exception 对象,它包含有关在同步期间发生的任何异常的元数据。
- dbSyncSession
- dbSyncContext
- connection
包含到对等数据库的连接的 IDbConnection 对象。
- transaction
包含特定事务(在此事务中尝试对表进行变更)的 IDbTransaction 对象。
备注
请参阅
参考
DbApplyChangeFailedEventArgs 类
DbApplyChangeFailedEventArgs 成员
Microsoft.Synchronization.Data 命名空间