Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Initializes a new instance of the DbOutdatedEventArgs class by using local knowledge, local cleanup knowledge, remote knowledge, and session parameters.
This API is not CLS-compliant.
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
)
Parameters
- localSyncKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
A SyncKnowledge object that contains the knowledge of the local provider.
- localCleanupKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
A SyncKnowledge object that contains the cleanup knowledge of the local provider.
- remoteSyncKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
A SyncKnowledge object that contains the knowledge of the remote provider.
- session
Type: Microsoft.Synchronization.Data.DbSyncSession
A DbSyncSession object that contains metadata about the current synchronization session.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | session is a null reference (Nothing in Visual Basic). |