KnowledgeSyncProvider.EndSession Method

When overridden in a derived class, notifies the provider that a synchronization session to which it was enlisted has completed.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)

public abstract void EndSession (
	SyncSessionContext syncSessionContext
)
public abstract void EndSession (
	SyncSessionContext syncSessionContext
)
public abstract function EndSession (
	syncSessionContext : SyncSessionContext
)

Parameters

syncSessionContext

The current status of the corresponding session.

syncSessionContext will be equal to the SyncSessionContext object provided to the previous corresponding call to BeginSession.

This method throws InvalidOperationException when the provider did not previously receive a call to BeginSession for the session that is specified by syncSessionContext.

Show: