// Token: 0x0600149E RID: 5278 RVA: 0x000767F4 File Offset: 0x000749F4
        protected override void InvokeInternal(InvokeArgs invokeArgs, List <KeyValuePair <string, object> > customDataToLog)
        {
            MailboxSession mailboxSession = invokeArgs.StoreSession as MailboxSession;

            if (mailboxSession == null)
            {
                return;
            }
            if (mailboxSession.MailboxOwner.RecipientTypeDetails != RecipientTypeDetails.UserMailbox && mailboxSession.MailboxOwner.RecipientTypeDetails != RecipientTypeDetails.LinkedMailbox)
            {
                this.DiagnosticsSession.TraceDebug <Guid, string, string>("Skipping mailbox with guid {0} and display name {1} since this is a {2} and not a UserMailbox or a LinkedMailbox", mailboxSession.MailboxGuid, mailboxSession.MailboxOwner.MailboxInfo.DisplayName, mailboxSession.MailboxOwner.RecipientTypeDetails.ToString());
                this.DiagnosticsSession.LogDiagnosticsInfo(DiagnosticsLoggingTag.Informational, "SkipMBP", new object[]
                {
                    PeopleRelevanceAssistantLoggingHelper.BuildOperationSpecificString(mailboxSession.MailboxGuid.ToString(), mailboxSession.ServerFullyQualifiedDomainName, mailboxSession.MailboxOwner.RecipientTypeDetails.ToString(), mailboxSession.DisplayAddress, mailboxSession.OrganizationId.ToString())
                });
                return;
            }
            this.DiagnosticsSession.TraceDebug <IExchangePrincipal>("{0}: Begin process mailbox", mailboxSession.MailboxOwner);
            try
            {
                this.peopleRelevancePipelineFeeder.ProcessMailbox(mailboxSession, this.DiagnosticsSession, false);
                this.DiagnosticsSession.LogDiagnosticsInfo(DiagnosticsLoggingTag.Informational, "CompleteMBP", new object[]
                {
                    PeopleRelevanceAssistantLoggingHelper.BuildOperationSpecificString(mailboxSession.MailboxGuid.ToString(), mailboxSession.ServerFullyQualifiedDomainName, mailboxSession.MailboxOwner.RecipientTypeDetails.ToString(), mailboxSession.DisplayAddress, mailboxSession.OrganizationId.ToString())
                });
            }
            catch (AbortOnProcessingRequestedException)
            {
                this.DiagnosticsSession.TraceDebug <IExchangePrincipal>("{0} : Aborting the mailbox because of a shutdown signal", mailboxSession.MailboxOwner);
                this.DiagnosticsSession.LogDiagnosticsInfo(DiagnosticsLoggingTag.Warnings, "AbortMBPS", new object[]
                {
                    PeopleRelevanceAssistantLoggingHelper.BuildOperationSpecificString(mailboxSession.MailboxGuid.ToString(), mailboxSession.ServerFullyQualifiedDomainName, mailboxSession.MailboxOwner.RecipientTypeDetails.ToString(), mailboxSession.DisplayAddress, mailboxSession.OrganizationId.ToString())
                });
            }
            catch (Exception ex)
            {
                this.DiagnosticsSession.TraceDebug <IExchangePrincipal, Exception>("PeopleRelevanceAssistant.InvokeInternal: FAILED to process mailbox for user: {0}.  Exception: {1}", mailboxSession.MailboxOwner, ex);
                this.DiagnosticsSession.LogDiagnosticsInfo(DiagnosticsLoggingTag.Failures, "FailedMBP", new object[]
                {
                    PeopleRelevanceAssistantLoggingHelper.BuildOperationSpecificString(mailboxSession.MailboxGuid.ToString(), mailboxSession.ServerFullyQualifiedDomainName, mailboxSession.MailboxOwner.RecipientTypeDetails.ToString(), mailboxSession.DisplayAddress, mailboxSession.OrganizationId.ToString(), ex.ToString())
                });
            }
            this.DiagnosticsSession.TraceDebug <IExchangePrincipal>("{0}: End process mailbox", mailboxSession.MailboxOwner);
        }
Ejemplo n.º 2
0
 // Token: 0x060014A6 RID: 5286 RVA: 0x000770B0 File Offset: 0x000752B0
 public static string BuildOperationSpecificString(string MailboxGuid, string ServerFullyQualifiedDomainName, string MailboxType, string DisplayAddress, string OrganizationId)
 {
     return(PeopleRelevanceAssistantLoggingHelper.BuildOperationSpecificString(MailboxGuid, ServerFullyQualifiedDomainName, MailboxType, DisplayAddress, OrganizationId, null));
 }