Delen via


AppointmentCalendar.TryCancelMeetingAsync Method

Definition

Asynchronously attempts to cancel a meeting.

public:
 virtual IAsyncOperation<bool> ^ TryCancelMeetingAsync(Appointment ^ meeting, Platform::String ^ subject, Platform::String ^ comment, bool notifyInvitees) = TryCancelMeetingAsync;
IAsyncOperation<bool> TryCancelMeetingAsync(Appointment const& meeting, winrt::hstring const& subject, winrt::hstring const& comment, bool const& notifyInvitees);
public IAsyncOperation<bool> TryCancelMeetingAsync(Appointment meeting, string subject, string comment, bool notifyInvitees);
function tryCancelMeetingAsync(meeting, subject, comment, notifyInvitees)
Public Function TryCancelMeetingAsync (meeting As Appointment, subject As String, comment As String, notifyInvitees As Boolean) As IAsyncOperation(Of Boolean)

Parameters

meeting
Appointment

The meeting to cancel.

subject
String

Platform::String

winrt::hstring

The subject for the cancellation notification.

comment
String

Platform::String

winrt::hstring

The body of the cancellation notification.

notifyInvitees
Boolean

bool

A Boolean value indicating if invitees should be notified.

Returns

A Boolean value indicating if the operation was successful.

Windows requirements

App capabilities
appointmentsSystem

Applies to