Share via


ApplyingChangesEventArgs Constructor

Initializes a new instance of the ApplyingChangesEventArgs class by using group metadata, data set, session, context, connection, and transaction parameters.

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

Syntax

'Declaration
Public Sub New ( _
    groupMetadata As SyncGroupMetadata, _
    dataSet As DataSet, _
    syncSession As SyncSession, _
    syncContext As SyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
'Usage
Dim groupMetadata As SyncGroupMetadata
Dim dataSet As DataSet
Dim syncSession As SyncSession
Dim syncContext As SyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction

Dim instance As New ApplyingChangesEventArgs(groupMetadata, _
    dataSet, syncSession, syncContext, _
    connection, transaction)
public ApplyingChangesEventArgs(
    SyncGroupMetadata groupMetadata,
    DataSet dataSet,
    SyncSession syncSession,
    SyncContext syncContext,
    IDbConnection connection,
    IDbTransaction transaction
)
public:
ApplyingChangesEventArgs(
    SyncGroupMetadata^ groupMetadata, 
    DataSet^ dataSet, 
    SyncSession^ syncSession, 
    SyncContext^ syncContext, 
    IDbConnection^ connection, 
    IDbTransaction^ transaction
)
new : 
        groupMetadata:SyncGroupMetadata * 
        dataSet:DataSet * 
        syncSession:SyncSession * 
        syncContext:SyncContext * 
        connection:IDbConnection * 
        transaction:IDbTransaction -> ApplyingChangesEventArgs
public function ApplyingChangesEventArgs(
    groupMetadata : SyncGroupMetadata, 
    dataSet : DataSet, 
    syncSession : SyncSession, 
    syncContext : SyncContext, 
    connection : IDbConnection, 
    transaction : IDbTransaction
)

Parameters

  • dataSet
    Type: System.Data.DataSet
    A DataSet object that contains the rows of data to be applied to the client or server database.

Exceptions

Exception Condition
ArgumentNullException

groupMetadata, dataSet, syncSession, or syncContext is a null reference (Nothing in Visual Basic).

See Also

Reference

ApplyingChangesEventArgs Class

Microsoft.Synchronization.Data Namespace