/// <summary> /// When overridden in a derived class, notifies the provider that it is joining a synchronization session. /// </summary> /// <param name="position">The position of this provider, relative to the other provider in the session.</param> /// <param name="syncSessionContext">The current status of the corresponding session.</param> public override void BeginSession(SyncProviderPosition position, SyncSessionContext syncSessionContext) { if (_syncService == null) { throw new Exception("Not initalized"); } _syncSessionContext = syncSessionContext; _syncService.BeginSession(); }