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); }
internal static FolderHierarchySyncState GetSyncState(SyncStateStorage syncStateStorage, Folder syncStateParentFolder, ISyncLogger syncLogger = null) { return(FolderHierarchySyncState.GetSyncState(syncStateStorage, syncStateParentFolder, null, syncLogger)); }