Beispiel #1
0
 private void LogPayloadNotPickedEvent()
 {
     if (!this.overMaxSize)
     {
         this.overMaxSize = true;
         string uriForUser = this.GetUriForUser();
         ExTraceGlobals.InstantMessagingTracer.TraceError <string>((long)this.GetHashCode(), "InstantMessagePayload.LogPayloadNotPickedEvent. Payload has grown too large without being picked up. User: {0}", uriForUser);
         OwaDiagnostics.LogEvent(ClientsEventLogConstants.Tuple_PayloadNotBeingPickedup, string.Empty, new object[]
         {
             this.GetUriForUser()
         });
         PendingRequestManager pendingRequestManager = this.userContext.PendingRequestManager;
         if (pendingRequestManager != null)
         {
             ChunkedHttpResponse chunkedHttpResponse = pendingRequestManager.ChunkedHttpResponse;
             if (chunkedHttpResponse != null && chunkedHttpResponse.IsClientConnected)
             {
                 InstantMessageUtilities.SendWatsonReport("InstantMessagePayload.LogPayloadNotPickedEvent", this.userContext, new OverflowException(string.Format("Payload has grown too large without being picked up. User: {0}", uriForUser)));
             }
         }
         this.Cancel();
         this.payloadString.Append(InstantMessagePayload.overMaxSizeUnavailablePayload);
     }
 }
Beispiel #2
0
 // Token: 0x06000BF0 RID: 3056 RVA: 0x0005307C File Offset: 0x0005127C
 public MailTipsState(RecipientInfo[] recipientsInfo, RecipientInfo senderInfo, bool doesNeedConfig, string logonUserLegDn, string logonUserPrimarySmtpAddress, ClientSecurityContext clientSecurityContext, ExTimeZone logonUserTimeZone, CultureInfo logonUserCulture, OrganizationId logonUserOrgId, ADObjectId queryBaseDn, bool shouldHideByDefault, PendingRequestManager pendingRequestManager, string serverName, string weekdayDateTimeFormat)
 {
     this.RecipientsInfo = recipientsInfo;
     this.SenderInfo     = senderInfo;
     this.DoesNeedConfig = doesNeedConfig;
     this.LogonUserLegDn = logonUserLegDn;
     this.LogonUserPrimarySmtpAddress = logonUserPrimarySmtpAddress;
     this.ClientSecurityContext       = clientSecurityContext;
     this.LogonUserTimeZone           = (logonUserTimeZone ?? (ExTimeZone.CurrentTimeZone ?? ExTimeZone.UtcTimeZone));
     this.LogonUserCulture            = logonUserCulture;
     this.LogonUserOrgId        = logonUserOrgId;
     this.QueryBaseDn           = queryBaseDn;
     this.ShouldHideByDefault   = shouldHideByDefault;
     this.PendingRequestManager = pendingRequestManager;
     this.ServerName            = serverName;
     this.MailTipsResult        = new List <MailTips>(this.RecipientsInfo.Length);
     this.WeekdayDateTimeFormat = weekdayDateTimeFormat;
 }