Esempio n. 1
0
        public FolderHierarchySyncState GetFolderHierarchySyncState()
        {
            this.CheckDisposed("GetFolderHierarchySyncState");
            this.syncLogger.Information <int>(ExTraceGlobals.SyncTracer, (long)this.GetHashCode(), "SyncStateStorage::GetFolderHierarchySyncState. Hashcode = {0}", this.GetHashCode());
            this.GetMailboxSession();
            FolderHierarchySyncState result = null;

            try
            {
                result = FolderHierarchySyncState.GetSyncState(this, this.folder, this.syncLogger);
            }
            catch (ObjectNotFoundException arg)
            {
                this.syncLogger.TraceDebug <string, ObjectNotFoundException>(ExTraceGlobals.SyncTracer, (long)this.GetHashCode(), "[SyncStateStorage.GetFolderHierarchySyncState] Hark! SyncState {0} was not found.  Exception: {1}", "FolderHierarchy", arg);
            }
            return(result);
        }
 protected override void Load(bool reloadFromBackend, params PropertyDefinition[] additionalPropsToLoad)
 {
     base.Load(reloadFromBackend, additionalPropsToLoad);
     FolderHierarchySyncState.handleCustomDataVersioning(this);
 }
 internal static FolderHierarchySyncState GetSyncState(SyncStateStorage syncStateStorage, Folder syncStateParentFolder, ISyncLogger syncLogger = null)
 {
     return(FolderHierarchySyncState.GetSyncState(syncStateStorage, syncStateParentFolder, null, syncLogger));
 }
Esempio n. 4
0
 public FolderHierarchySyncState CreateFolderHierarchySyncState()
 {
     this.CheckDisposed("CreateFolderHierarchySyncState");
     this.syncLogger.Information <int>(ExTraceGlobals.SyncTracer, (long)this.GetHashCode(), "SyncStateStorage::CreateFolderHierarchySyncState. Hashcode = {0}", this.GetHashCode());
     return(FolderHierarchySyncState.CreateSyncState(this, this.folder, this.syncLogger));
 }