UnmanagedSyncProviderWrapper::BeginSession Method

Notifies the unmanaged provider that it is joining a synchronization session.

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

public:
virtual void BeginSession(
	SyncProviderPosition position, 
	SyncSessionContext^ syncSessionContext
) override

Parameters

position
Type: Microsoft.Synchronization::SyncProviderPosition
The position of this provider, relative to the other provider in the session.
syncSessionContext
Type: Microsoft.Synchronization::SyncSessionContext
The current status of the corresponding session.

ExceptionCondition
InvalidOperationException

This UnmanagedSyncProviderWrapper object is not initialized.

ArgumentNullException

syncSessionContext is a nullptr.

This method wraps the unmanaged IKnowledgeSyncProvider::BeginSession method.

Show: