UnmanagedSyncProviderWrapper.EndSession Method
Notifies the unmanaged provider that a synchronization session to which it was enlisted has finished.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Overrides Sub EndSession ( _
syncSessionContext As SyncSessionContext _
)
'Usage
Dim instance As UnmanagedSyncProviderWrapper
Dim syncSessionContext As SyncSessionContext
instance.EndSession(syncSessionContext)
public override void EndSession(
SyncSessionContext syncSessionContext
)
public:
virtual void EndSession(
SyncSessionContext^ syncSessionContext
) override
abstract EndSession :
syncSessionContext:SyncSessionContext -> unit
override EndSession :
syncSessionContext:SyncSessionContext -> unit
public override function EndSession(
syncSessionContext : SyncSessionContext
)
Parameters
- syncSessionContext
Type: Microsoft.Synchronization.SyncSessionContext
The current status of the corresponding session.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This UnmanagedSyncProviderWrapper object is not initialized. |
ArgumentNullException | syncSessionContext is a null reference (Nothing in Visual Basic). |
Remarks
This method wraps the unmanaged IKnowledgeSyncProvider::EndSession method.