/// <summary> /// Binds to an existing meeting cancellation message and loads its first class properties. /// Calling this method results in a call to EWS. /// </summary> /// <param name="service">The service to use to bind to the meeting cancellation message.</param> /// <param name="id">The Id of the meeting cancellation message to bind to.</param> /// <returns>A MeetingCancellation instance representing the meeting cancellation message corresponding to the specified Id.</returns> public static new MeetingCancellation Bind(ExchangeService service, ItemId id) { return MeetingCancellation.Bind( service, id, PropertySet.FirstClassProperties); }
/// <summary> /// Initializes a new instance of the <see cref="CalendarActionResults"/> class. /// </summary> /// <param name="items">Collection of items that were created or modified as a result of a calendar action.</param> internal CalendarActionResults(IEnumerable<Item> items) { this.appointment = EwsUtilities.FindFirstItemOfType<Appointment>(items); this.meetingRequest = EwsUtilities.FindFirstItemOfType<MeetingRequest>(items); this.meetingResponse = EwsUtilities.FindFirstItemOfType<MeetingResponse>(items); this.meetingCancellation = EwsUtilities.FindFirstItemOfType<MeetingCancellation>(items); }
/// <summary> /// Initializes a new instance of the <see cref="CalendarActionResults"/> class. /// </summary> /// <param name="items">Collection of items that were created or modified as a result of a calendar action.</param> internal CalendarActionResults(IEnumerable <Item> items) { this.appointment = EwsUtilities.FindFirstItemOfType <Appointment>(items); this.meetingRequest = EwsUtilities.FindFirstItemOfType <MeetingRequest>(items); this.meetingResponse = EwsUtilities.FindFirstItemOfType <MeetingResponse>(items); this.meetingCancellation = EwsUtilities.FindFirstItemOfType <MeetingCancellation>(items); }