Share via


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

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.

See Also

Reference

UnmanagedSyncProviderWrapper Class

Microsoft.Synchronization Namespace