ChangesSelectedEventArgs 构造函数

使用组元数据、会话、上下文、连接和事务参数初始化 ChangesSelectedEventArgs 类的一个新实例。

命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)

语法

声明
Public Sub New ( _
    groupMetadata As SyncGroupMetadata, _
    syncSession As SyncSession, _
    syncContext As SyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
用法
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
)
public ChangesSelectedEventArgs (
    SyncGroupMetadata groupMetadata, 
    SyncSession syncSession, 
    SyncContext syncContext, 
    IDbConnection connection, 
    IDbTransaction transaction
)
public function ChangesSelectedEventArgs (
    groupMetadata : SyncGroupMetadata, 
    syncSession : SyncSession, 
    syncContext : SyncContext, 
    connection : IDbConnection, 
    transaction : IDbTransaction
)

参数

  • syncSession
    包含有关当前同步会话的元数据的 SyncSession 对象。
  • syncContext
    包含同步会话的数据变更、定位点值和其他元数据的 SyncContext 对象。
  • connection
    包含到客户端或服务器数据库的连接的 IDbConnection 对象。
  • transaction
    包含特定事务(在此事务中选择对表的变更)的 IDbTransaction 对象。

请参阅

参考

ChangesSelectedEventArgs 类
ChangesSelectedEventArgs 成员
Microsoft.Synchronization.Data 命名空间