DbApplyingChangesEventArgs Constructor (DbSyncScopeMetadata, DataSet, DbSyncSession, DbSyncContext, IDbConnection, IDbTransaction)

Initializes a new instance of the DbApplyingChangesEventArgs class by using scope metadata, DataSet, session, context, connection, and transaction parameters.

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

public DbApplyingChangesEventArgs(
	DbSyncScopeMetadata scopeMetadata,
	DataSet changes,
	DbSyncSession session,
	DbSyncContext context,
	IDbConnection connection,
	IDbTransaction transaction
)

Parameters

scopeMetadata
Type: Microsoft.Synchronization.Data.DbSyncScopeMetadata
A DbSyncScopeMetaData object that contains metadata, such as synchronization knowledge.
changes
Type: System.Data.DataSet
A DataSet object that contains the rows of data to be applied to the peer database.
session
Type: Microsoft.Synchronization.Data.DbSyncSession
A DbSyncSession object that contains metadata about the current synchronization session.
context
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 are applied.

ExceptionCondition
ArgumentNullException

scopeMetaData, changes, session, or context is a null.

Show: