SendAndSaveCopyWithFolderId method

  1. @override
Future<CalendarActionResults> SendAndSaveCopyWithFolderId(
  1. FolderId destinationFolderId
)
override
Sends this response ans saves a copy in the specified folder. Calling this method results in a call to EWS. The Id of the folder in which to save the copy of the message.

Implementation

@override
Future<CalendarActionResults> SendAndSaveCopyWithFolderId(
  FolderId destinationFolderId,
) async {
  EwsUtilities.ValidateParam(destinationFolderId, "destinationFolderId");

  return CalendarActionResults(
    await InternalCreate(
      destinationFolderId,
      MessageDisposition.SendAndSaveCopy,
    ),
  );
}