Sdílet prostřednictvím


DbChangesAppliedEventArgs Constructor

Initializes a new instance of the DbChangesAppliedEventArgs 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 DbChangesAppliedEventArgs(scopeMetadata, session, context, connection, transaction)
public DbChangesAppliedEventArgs (
    DbSyncScopeMetadata scopeMetadata,
    DbSyncSession session,
    DbSyncContext context,
    IDbConnection connection,
    IDbTransaction transaction
)
public:
DbChangesAppliedEventArgs (
    DbSyncScopeMetadata^ scopeMetadata, 
    DbSyncSession^ session, 
    DbSyncContext^ context, 
    IDbConnection^ connection, 
    IDbTransaction^ transaction
)
public DbChangesAppliedEventArgs (
    DbSyncScopeMetadata scopeMetadata, 
    DbSyncSession session, 
    DbSyncContext context, 
    IDbConnection connection, 
    IDbTransaction transaction
)
public function DbChangesAppliedEventArgs (
    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 and 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 applied.

See Also

Reference

DbChangesAppliedEventArgs Class
DbChangesAppliedEventArgs Members
Microsoft.Synchronization.Data Namespace