DbOutdatedEventArgs 构造函数
使用本地知识、本地清除知识、远程知识和会话参数初始化 DbOutdatedEventArgs 类的一个新实例。
此构造函数不符合 CLS。
命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)
语法
声明
<CLSCompliantAttribute(False)> _
Public Sub New ( _
localSyncKnowledge As SyncKnowledge, _
localCleanupKnowledge As SyncKnowledge, _
remoteSyncKnowledge As SyncKnowledge, _
session As DbSyncSession _
)
用法
Dim localSyncKnowledge As SyncKnowledge
Dim localCleanupKnowledge As SyncKnowledge
Dim remoteSyncKnowledge As SyncKnowledge
Dim session As DbSyncSession
Dim instance As New DbOutdatedEventArgs(localSyncKnowledge, localCleanupKnowledge, remoteSyncKnowledge, session)
[CLSCompliantAttribute(false)]
public DbOutdatedEventArgs (
SyncKnowledge localSyncKnowledge,
SyncKnowledge localCleanupKnowledge,
SyncKnowledge remoteSyncKnowledge,
DbSyncSession session
)
[CLSCompliantAttribute(false)]
public:
DbOutdatedEventArgs (
SyncKnowledge^ localSyncKnowledge,
SyncKnowledge^ localCleanupKnowledge,
SyncKnowledge^ remoteSyncKnowledge,
DbSyncSession^ session
)
/** @attribute CLSCompliantAttribute(false) */
public DbOutdatedEventArgs (
SyncKnowledge localSyncKnowledge,
SyncKnowledge localCleanupKnowledge,
SyncKnowledge remoteSyncKnowledge,
DbSyncSession session
)
CLSCompliantAttribute(false)
public function DbOutdatedEventArgs (
localSyncKnowledge : SyncKnowledge,
localCleanupKnowledge : SyncKnowledge,
remoteSyncKnowledge : SyncKnowledge,
session : DbSyncSession
)
参数
- localSyncKnowledge
包含本地提供程序的知识的 SyncKnowledge 对象。
- localCleanupKnowledge
包含本地提供程序的清除知识的 SyncKnowledge 对象。
- remoteSyncKnowledge
包含远程提供程序的知识的 SyncKnowledge 对象。
- session
包含有关当前同步会话的元数据的 DbSyncSession 对象。
备注
请参阅
参考
DbOutdatedEventArgs 类
DbOutdatedEventArgs 成员
Microsoft.Synchronization.Data 命名空间