Appointment.ToMailMessage

ToMailMessage(AppointmentAction, int)

Creates an email message that carries this appointment as a meeting request, update or cancellation.

public MailMessage ToMailMessage(AppointmentAction action, int seqId)
ParameterTypeDescription
actionAppointmentActionWhether the message requests, updates or cancels the meeting.
seqIdInt32The sequence number (the iCalendar SEQUENCE property): the revision of the event within a sequence of updates.

Return Value

A MailMessage that carries the event as a text/calendar alternate view.

See Also


ToMailMessage(AppointmentAction)

Creates an email message that carries this appointment as a meeting request, update or cancellation.

public MailMessage ToMailMessage(AppointmentAction action)
ParameterTypeDescription
actionAppointmentActionWhether the message requests, updates or cancels the meeting.

Return Value

A MailMessage that carries the event as a text/calendar alternate view.

Remarks

The sequence number is 0 for a request, 1 for an update and 2 for a cancellation.

See Also


ToMailMessage()

Creates an email message that carries this appointment as a meeting request.

public MailMessage ToMailMessage()

Return Value

A MailMessage that carries the event as a text/calendar alternate view.

Remarks

The METHOD is taken from MethodType, or is REQUEST when that is AppointmentMethodType.None; the sequence number is 0.

See Also