Partager via


Constructeur DbOutdatedEventArgs

Initialise une nouvelle instance de la classe DbOutdatedEventArgs en utilisant les paramètres de connaissance locale, de connaissance de nettoyage locale, de connaissance distante et de session.

Ce constructeur n'est pas conforme CLS.  

Espace de noms: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (dans microsoft.synchronization.data.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
    localSyncKnowledge As SyncKnowledge, _
    localCleanupKnowledge As SyncKnowledge, _
    remoteSyncKnowledge As SyncKnowledge, _
    session As DbSyncSession _
)
'Utilisation
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
)

Paramètres

  • localSyncKnowledge
    Objet SyncKnowledge qui contient la connaissance du fournisseur local.
  • localCleanupKnowledge
    Objet SyncKnowledge qui contient la connaissance de nettoyage du fournisseur local.
  • remoteSyncKnowledge
    Objet SyncKnowledge qui contient la connaissance du fournisseur distant.
  • session
    Objet DbSyncSession qui contient des métadonnées relatives à la session de synchronisation active.

Notes

Voir aussi

Référence

Classe DbOutdatedEventArgs
Membres DbOutdatedEventArgs
Espace de noms Microsoft.Synchronization.Data