DbOutdatedEventArgs-Konstruktor
Initialisiert eine neue Instanz der DbOutdatedEventArgs-Klasse unter Verwendung von Parametern für lokales Wissen, lokales Bereinigungswissen, Remotewissen und Sitzung.
Diese API ist nicht CLS-kompatibel.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
localSyncKnowledge As SyncKnowledge, _
localCleanupKnowledge As SyncKnowledge, _
remoteSyncKnowledge As SyncKnowledge, _
session As DbSyncSession _
)
'Usage
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
)
[<CLSCompliantAttribute(false)>]
new :
localSyncKnowledge:SyncKnowledge *
localCleanupKnowledge:SyncKnowledge *
remoteSyncKnowledge:SyncKnowledge *
session:DbSyncSession -> DbOutdatedEventArgs
public function DbOutdatedEventArgs(
localSyncKnowledge : SyncKnowledge,
localCleanupKnowledge : SyncKnowledge,
remoteSyncKnowledge : SyncKnowledge,
session : DbSyncSession
)
Parameter
- localSyncKnowledge
Typ: Microsoft.Synchronization. . :: . .SyncKnowledge
Ein SyncKnowledge-Objekt, das das Wissen des lokalen Anbieters enthält.
- localCleanupKnowledge
Typ: Microsoft.Synchronization. . :: . .SyncKnowledge
Ein SyncKnowledge-Objekt, das das Bereinigungswissen des lokalen Anbieters enthält.
- remoteSyncKnowledge
Typ: Microsoft.Synchronization. . :: . .SyncKnowledge
Ein SyncKnowledge-Objekt, das das Wissen des Remoteanbieters enthält.
- session
Typ: Microsoft.Synchronization.Data. . :: . .DbSyncSession
Ein DbSyncSession-Objekt, das Metadaten über die aktuelle Synchronisierungssitzung enthält.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | session ist NULL. |