/** * Cancels the meeting and sends cancellation messages to all attendees. * Calling this method results in a call to EWS. * * @return A CalendarActionResults object containing the various item that * were created or modified as a results of this operation. * @throws Exception the exception */ public CalendarActionResults cancelMeeting() throws Exception { return this.createCancelMeetingMessage().calendarSendAndSaveCopy(); }
/** * Cancels the meeting and sends cancellation messages to all attendees. * Calling this method results in a call to EWS. * * @param cancellationMessageText the cancellation message text * @return A CalendarActionResults object containing the various item that * were created or modified as a results of this operation. * @throws Exception the exception */ public CalendarActionResults cancelMeeting(String cancellationMessageText) throws Exception { CancelMeetingMessage cancelMsg = this.createCancelMeetingMessage(); cancelMsg.setBody(new MessageBody(cancellationMessageText)); return cancelMsg.calendarSendAndSaveCopy(); }
/** * Cancels the meeting and sends cancellation messages to all attendees. * Calling this method results in a call to EWS. * * @return A CalendarActionResults object containing the various item that * were created or modified as a results of this operation. * @throws Exception the exception */ public CalendarActionResults cancelMeeting() throws Exception { return this.createCancelMeetingMessage().calendarSendAndSaveCopy(); }
/** * Cancels the meeting and sends cancellation messages to all attendees. * Calling this method results in a call to EWS. * * @param cancellationMessageText the cancellation message text * @return A CalendarActionResults object containing the various item that * were created or modified as a results of this operation. * @throws Exception the exception */ public CalendarActionResults cancelMeeting(String cancellationMessageText) throws Exception { CancelMeetingMessage cancelMsg = this.createCancelMeetingMessage(); cancelMsg.setBody(new MessageBody(cancellationMessageText)); return cancelMsg.calendarSendAndSaveCopy(); }