Export (0) Print
Expand All

DbApplyChangeFailedEventArgs Constructor

Initializes a new instance of the DbApplyChangeFailedEventArgs class by using table metadata, conflict, error, session, context, connection, and transaction parameters.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public DbApplyChangeFailedEventArgs(
	DbSyncConflict dbSyncConflict,
	Exception error,
	DbSyncSession dbSyncSession,
	DbSyncContext dbSyncContext,
	IDbConnection connection,
	IDbTransaction transaction
)

Parameters

dbSyncConflict
Type: Microsoft.Synchronization.Data.DbSyncConflict
A DbSyncConflict object that contains metadata about any conflicts that occurred during synchronization.
error
Type: System.Exception
An Exception object that contains metadata about any exceptions that occurred during synchronization.
dbSyncSession
Type: Microsoft.Synchronization.Data.DbSyncSession
A DbSyncSession object that contains metadata about the current synchronization session.
dbSyncContext
Type: Microsoft.Synchronization.Data.DbSyncContext
A DbSyncContext object that contains data changes, anchor values, and other metadata for a synchronization session.
connection
Type: System.Data.IDbConnection
An IDbConnection object that contains a connection to the peer database.
transaction
Type: System.Data.IDbTransaction
An IDbTransaction object that contains the transaction within which changes to tables were tried.

ExceptionCondition
ArgumentNullException

dbSyncConflict, dbSyncSession, or dbSyncContext is a null.

Show:
© 2014 Microsoft