Exemplo n.º 1
0
        // Token: 0x0600049C RID: 1180 RVA: 0x00018E64 File Offset: 0x00017064
        private static XElement FormatTimeBasedJobWindowHistoryEntry(DiagnosticsSummaryJobWindow windowJob)
        {
            ArgumentValidator.ThrowIfNull("windowJob", windowJob);
            XElement xelement = new XElement("WindowJob");

            xelement.Add(new XElement("StartTime", windowJob.StartTime.ToString("O", CultureInfo.InvariantCulture)));
            xelement.Add(new XElement("EndTime", windowJob.EndTime.ToString("O", CultureInfo.InvariantCulture)));
            xelement.Add(new XElement("TotalOnDatabaseMailboxCount", windowJob.TotalOnDatabaseCount));
            xelement.Add(new XElement("InterestingMailboxCount", windowJob.InterestingCount));
            xelement.Add(new XElement("NotInterestingMailboxCount", windowJob.NotInterestingCount));
            xelement.Add(new XElement("FilteredMailboxCount", windowJob.FilteredMailboxCount));
            xelement.Add(new XElement("FailedFilteringMailboxCount", windowJob.FailedFilteringCount));
            xelement.Add(new XElement("CompletedMailboxCount", windowJob.DiagnosticsSummaryJob.ProcessedSuccessfullyCount));
            xelement.Add(new XElement("MovedToOnDemandMailboxCount", windowJob.ProcessedSeparatelyCount));
            xelement.Add(new XElement("FailedMailboxCount", windowJob.DiagnosticsSummaryJob.ProcessedFailureCount));
            xelement.Add(new XElement("FailedToOpenStoreSessionCount", windowJob.DiagnosticsSummaryJob.FailedToOpenStoreSessionCount));
            xelement.Add(new XElement("RetriedMailboxCount", windowJob.DiagnosticsSummaryJob.RetriedCount));
            return(xelement);
        }
Exemplo n.º 2
0
        // Token: 0x0600049B RID: 1179 RVA: 0x00018D44 File Offset: 0x00016F44
        private static XElement FormatTimeBasedJobMailboxStatsWindow(string jobElementName, DiagnosticsSummaryJobWindow mbxSummary)
        {
            ArgumentValidator.ThrowIfNullOrWhiteSpace("jobElementName", jobElementName);
            ArgumentValidator.ThrowIfNull("mbxSummary", mbxSummary);
            XElement xelement = DiagnosticsFormatter.FormatTimeBasedJobMailboxStats(jobElementName, mbxSummary.DiagnosticsSummaryJob);

            xelement.AddFirst(new XElement("FailedFilteringMailboxCount", mbxSummary.FailedFilteringCount));
            xelement.AddFirst(new XElement("FilteredMailboxCount", mbxSummary.FilteredMailboxCount));
            xelement.AddFirst(new XElement("NotInterestingMailboxCount", mbxSummary.NotInterestingCount));
            xelement.AddFirst(new XElement("InterestingMailboxCount", mbxSummary.InterestingCount));
            xelement.AddFirst(new XElement("TotalOnDatabaseMailboxCount", mbxSummary.TotalOnDatabaseCount));
            xelement.AddFirst(new XElement("StartTime", mbxSummary.StartTime.ToString("O", CultureInfo.InvariantCulture)));
            xelement.Add(new XElement("MovedToOnDemandMailboxCount", mbxSummary.ProcessedSeparatelyCount));
            return(xelement);
        }
Exemplo n.º 3
0
 // Token: 0x060004A9 RID: 1193 RVA: 0x000190F6 File Offset: 0x000172F6
 public DiagnosticsSummaryDatabase(bool isAssistantEnabled, DateTime startTime, DiagnosticsSummaryJobWindow window, DiagnosticsSummaryJob demand)
 {
     ArgumentValidator.ThrowIfNull("window", window);
     ArgumentValidator.ThrowIfNull("demand", demand);
     this.IsAssistantEnabled     = isAssistantEnabled;
     this.StartTime              = startTime;
     this.WindowJobStatistics    = window;
     this.OnDemandJobsStatistics = demand;
 }