Beispiel #1
0
        protected void ReturnErrorPageToken(DateTime now, IFullSyncPageToken pageToken)
        {
            ExTraceGlobals.BackSyncTracer.TraceDebug((long)SyncConfiguration.TraceId, "FullSyncConfiguration ReturnErrorPageToken");
            DateTime dateTime = base.IsSubsequentFailedAttempt() ? this.GetLastReadFailureStartTime() : now;

            ExTraceGlobals.BackSyncTracer.TraceDebug <DateTime>((long)SyncConfiguration.TraceId, "FullSyncConfiguration lastReadFailureStartTime {0}", dateTime);
            this.originalToken.Timestamp = now;
            this.originalToken.LastReadFailureStartTime = dateTime;
            byte[] array = pageToken.ToByteArray();
            base.WriteResult(array, SyncObject.CreateGetDirectoryObjectsResponse(new List <SyncObject>(), true, array, this.GetReportedErrors(), null));
        }