// Token: 0x06002DBB RID: 11707 RVA: 0x001030F8 File Offset: 0x001012F8 private void EditResponseInternal(ResponseType responseType, CalendarItemBase calendarItemBase, bool doCalendarItemUpdate) { ExTraceGlobals.CalendarCallTracer.TraceDebug((long)this.GetHashCode(), "EditMeetingInviteEventHandler.EditResponseInternal"); MeetingUtilities.ThrowIfMeetingResponseInvalid(calendarItemBase); if (doCalendarItemUpdate) { this.UpdateItem(calendarItemBase); Utilities.SaveItem(calendarItemBase); calendarItemBase.Load(); } using (MeetingResponse meetingResponse = MeetingUtilities.EditResponse(responseType, calendarItemBase)) { meetingResponse.Load(); this.Writer.Write("<div id=divOp _sOp=mr>"); this.Writer.Write(OwaStoreObjectId.CreateFromStoreObject(meetingResponse).ToBase64String()); this.Writer.Write("</div>"); } }
public void SaveEditResponse() { ExTraceGlobals.CalendarCallTracer.TraceDebug((long)this.GetHashCode(), "EditMeetingResponseEventHandler.SaveEditResponse"); MeetingResponse meetingResponse = base.GetRequestItem <MeetingResponse>(new PropertyDefinition[0]); try { base.UpdateMessage(meetingResponse, StoreObjectType.MeetingMessage); this.HandleSendOnBehalf(meetingResponse); base.SaveHideMailTipsByDefault(); Utilities.SaveItem(meetingResponse); meetingResponse.Load(); base.WriteChangeKey(meetingResponse); } finally { meetingResponse.Dispose(); meetingResponse = null; } }
public void SaveMeetingResponse() { ExTraceGlobals.CalendarCallTracer.TraceDebug((long)this.GetHashCode(), "EditMeetingInviteEventHandler.SaveMeetingResponse"); MeetingResponse meetingResponse = null; try { meetingResponse = base.GetRequestItem <MeetingResponse>(new PropertyDefinition[0]); meetingResponse[ItemSchema.Subject] = (string)base.GetParameter("Subj"); Utilities.SaveItem(meetingResponse); meetingResponse.Load(); this.Writer.Write("<div id=ck>"); this.Writer.Write(meetingResponse.Id.ChangeKeyAsBase64String()); this.Writer.Write("</div>"); } finally { if (meetingResponse != null) { meetingResponse.Dispose(); meetingResponse = null; } } }
// Token: 0x0600079D RID: 1949 RVA: 0x00036558 File Offset: 0x00034758 private void ProcessMeetingResponse(MailboxSession itemStore, MeetingResponse mtgMessage, ref CalendarItemBase originalCalItem, string internetMessageId) { try { if (!mtgMessage.IsRepairUpdateMessage && originalCalItem != null && !originalCalItem.ResponseRequested) { CalendarProcessing.ProcessingResponseTracer.TraceDebug <object, string>((long)mtgMessage.GetHashCode(), "{0}: Skipping processing the MeetingResponse since the organizer has not requested a response: {1}", TraceContext.Get(), internetMessageId); CalendarProcessingSteps calendarProcessingSteps = CalendarProcessingSteps.PropsCheck | CalendarProcessingSteps.LookedForOutOfDate | CalendarProcessingSteps.UpdatedCalItem; mtgMessage.SetCalendarProcessingSteps(calendarProcessingSteps); } else if (mtgMessage.TryUpdateCalendarItem(ref originalCalItem, false)) { mtgMessage.Load(); try { itemStore.COWSettings.TemporaryDisableHold = true; ConflictResolutionResult conflictResolutionResult = originalCalItem.Save(SaveMode.ResolveConflicts); originalCalItem.Load(); if (conflictResolutionResult.SaveStatus == SaveResult.IrresolvableConflict) { throw new SaveConflictException(ServerStrings.ExSaveFailedBecauseOfConflicts(originalCalItem.Id), conflictResolutionResult); } } finally { itemStore.COWSettings.TemporaryDisableHold = false; } } CalendarAssistantPerformanceCounters.MeetingResponses.Increment(); CalendarProcessing.TracerPfd.TracePfd <int, object, string>((long)mtgMessage.GetHashCode(), "PFD IWC {0} {1}:completed Processing Meeting Response for {2}", 20631, TraceContext.Get(), internetMessageId); } catch (ObjectNotFoundException innerException) { throw new TransientException(Strings.descTransientErrorInResponse, innerException); } }