DbApplyingChangesEventArgs Constructor (DbSyncScopeMetadata, DataSet, DbSyncSession, DbSyncContext, IDbConnection, IDbTransaction, Boolean)
Initializes a new instance of the DbApplyingChangesEventArgs class by using scope metadata, DataSet, session, context, connection, transaction, and batch parameters.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public: DbApplyingChangesEventArgs( DbSyncScopeMetadata^ scopeMetadata, DataSet^ changes, DbSyncSession^ session, DbSyncContext^ context, IDbConnection^ connection, IDbTransaction^ transaction, bool isLastBatch )
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.
- isLastBatch
- Type: System::Boolean
Indicates whether the current batch is the last batch of changes.
| Exception | Condition |
|---|---|
| ArgumentNullException | scopeMetaData, changes, session, or context is a nullptr. |
Show: