Share via


DbChangesSelectedEventArgs Constructor

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

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Sub New ( _
    scopeMetadata As DbSyncScopeMetadata, _
    session As DbSyncSession, _
    context As DbSyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
'Usage
Dim scopeMetadata As DbSyncScopeMetadata
Dim session As DbSyncSession
Dim context As DbSyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction

Dim instance As New DbChangesSelectedEventArgs(scopeMetadata, session, context, connection, transaction)
public DbChangesSelectedEventArgs (
    DbSyncScopeMetadata scopeMetadata,
    DbSyncSession session,
    DbSyncContext context,
    IDbConnection connection,
    IDbTransaction transaction
)
public:
DbChangesSelectedEventArgs (
    DbSyncScopeMetadata^ scopeMetadata, 
    DbSyncSession^ session, 
    DbSyncContext^ context, 
    IDbConnection^ connection, 
    IDbTransaction^ transaction
)
public DbChangesSelectedEventArgs (
    DbSyncScopeMetadata scopeMetadata, 
    DbSyncSession session, 
    DbSyncContext context, 
    IDbConnection connection, 
    IDbTransaction transaction
)
public function DbChangesSelectedEventArgs (
    scopeMetadata : DbSyncScopeMetadata, 
    session : DbSyncSession, 
    context : DbSyncContext, 
    connection : IDbConnection, 
    transaction : IDbTransaction
)

Parameters

  • scopeMetadata
    A DbSyncScopeMetadata object that contains metadata, such as synchronization knowledge.
  • session
    A DbSyncSession object that contains metadata about the current synchronization session.
  • context
    A DbSyncContext object that contains data changes, anchor values, and other metadata for a synchronization session.
  • connection
    An IDbConnection object that contains a connection to the peer database.
  • transaction
    An IDbTransaction object that contains the transaction within which changes to tables are selected.

See Also

Reference

DbChangesSelectedEventArgs Class
DbChangesSelectedEventArgs Members
Microsoft.Synchronization.Data Namespace