SaveWithWellKnownFolderAndSendInvitationsMode method

Future<void> SaveWithWellKnownFolderAndSendInvitationsMode(
  1. WellKnownFolderName destinationFolderName,
  2. SendInvitationsMode sendInvitationsMode
)
Forwards the appointment. Calling this method results in a call to EWS. The prefix to prepend to the original body of the message. The recipients to forward the appointment to. Forwards the appointment. Calling this method results in a call to EWS. The prefix to prepend to the original body of the message. The recipients to forward the appointment to. Saves this appointment in the specified folder. Calling this method results in at least one call to EWS. Mutliple calls to EWS might be made if attachments have been added. The name of the folder in which to save this appointment. Specifies if and how invitations should be sent if this appointment is a meeting.

Implementation

// void Forward(MessageBody bodyPrefix, params EmailAddress[] toRecipients)
//        {
//            this.Forward(bodyPrefix, (Iterable<EmailAddress>)toRecipients);
//        }

/// <summary>
/// Forwards the appointment. Calling this method results in a call to EWS.
/// </summary>
/// <param name="bodyPrefix">The prefix to prepend to the original body of the message.</param>
/// <param name="toRecipients">The recipients to forward the appointment to.</param>
// void Forward(MessageBody bodyPrefix, Iterable<EmailAddress> toRecipients)
//        {
//            ResponseMessage responseMessage = this.CreateForward();
//
//            responseMessage.BodyPrefix = bodyPrefix;
//            responseMessage.ToRecipients.AddRange(toRecipients);
//
//            responseMessage.SendAndSaveCopy();
//        }

/// <summary>
/// Saves this appointment in the specified folder. Calling this method results in at least one call to EWS.
/// Mutliple calls to EWS might be made if attachments have been added.
/// </summary>
/// <param name="destinationFolderName">The name of the folder in which to save this appointment.</param>
/// <param name="sendInvitationsMode">Specifies if and how invitations should be sent if this appointment is a meeting.</param>
Future<void> SaveWithWellKnownFolderAndSendInvitationsMode(
    WellKnownFolderName destinationFolderName,
    SendInvitationsMode sendInvitationsMode) {
  return this.InternalCreate(
      new FolderId.fromWellKnownFolder(destinationFolderName),
      null,
      sendInvitationsMode);
}