Share via


ChangesSelectedEventArgs Constructor

Initializes a new instance of the ChangesSelectedEventArgs class by using group 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 ( _
    groupMetadata As SyncGroupMetadata, _
    syncSession As SyncSession, _
    syncContext As SyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
'Usage
Dim groupMetadata As SyncGroupMetadata
Dim syncSession As SyncSession
Dim syncContext As SyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction

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

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ChangesSelectedEventArgs Class

Microsoft.Synchronization.Data Namespace