Class MeetingCancellation
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a meeting cancellation message. Properties available on meeting messages are defined in the MeetingMessageSchema class.
public class MeetingCancellation : MeetingMessage
- Inheritance
-
MeetingCancellation
- Inherited Members
Properties
End
Gets the end time of the appointment.
public DateTime End { get; }
Property Value
EnhancedLocation
Gets the Enhanced location object.
public EnhancedLocation EnhancedLocation { get; }
Property Value
Location
Gets the location of this appointment.
public string Location { get; }
Property Value
Recurrence
Gets the recurrence pattern for this meeting request.
public Recurrence Recurrence { get; }
Property Value
Start
Gets the start time of the appointment.
public DateTime Start { get; }
Property Value
Methods
Bind(ExchangeService, ItemId)
Binds to an existing meeting cancellation message and loads its first class properties. Calling this method results in a call to EWS.
public static MeetingCancellation Bind(ExchangeService service, ItemId id)
Parameters
service
ExchangeServiceThe service to use to bind to the meeting cancellation message.
id
ItemIdThe Id of the meeting cancellation message to bind to.
Returns
- MeetingCancellation
A MeetingCancellation instance representing the meeting cancellation message corresponding to the specified Id.
Bind(ExchangeService, ItemId, PropertySet)
Binds to an existing meeting cancellation message and loads the specified set of properties. Calling this method results in a call to EWS.
public static MeetingCancellation Bind(ExchangeService service, ItemId id, PropertySet propertySet)
Parameters
service
ExchangeServiceThe service to use to bind to the meeting cancellation message.
id
ItemIdThe Id of the meeting cancellation message to bind to.
propertySet
PropertySetThe set of properties to load.
Returns
- MeetingCancellation
A MeetingCancellation instance representing the meeting cancellation message corresponding to the specified Id.
RemoveMeetingFromCalendar()
Removes the meeting associated with the cancellation message from the user's calendar.
public CalendarActionResults RemoveMeetingFromCalendar()
Returns
- CalendarActionResults
A CalendarActionResults object containing the various items that were created or modified as a results of this operation.