DbSelectingChangesEventArgs Constructor (DbSyncScopeMetadata, DbSyncSession, DbSyncContext, IDbConnection, IDbTransaction, ReadOnlyCollection<String>)

Initializes a new instance of the DbSelectingChangesEventArgs class by using scope metadata, session, context, connection, transaction, and table name parameters.

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

public:
DbSelectingChangesEventArgs(
	DbSyncScopeMetadata^ scopeMetadata, 
	DbSyncSession^ session, 
	DbSyncContext^ context, 
	IDbConnection^ connection, 
	IDbTransaction^ transaction, 
	ReadOnlyCollection<String^>^ tables
)

Parameters

scopeMetadata
Type: Microsoft.Synchronization.Data::DbSyncScopeMetadata
A DbSyncScopeMetaData object that contains metadata, such as synchronization knowledge.
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 selected.
tables
Type: System.Collections.ObjectModel::ReadOnlyCollection<String>
A collection of the names of tables from which changes will be selected.

ExceptionCondition
ArgumentNullException

scopeMetadata, session, context, or tables is a nullptr.

Show: