Delen via


AppointmentCalendar.TryProposeNewTimeForMeetingAsync Method

Definition

Asynchronously attempts to propose a new meeting time.

public:
 virtual IAsyncOperation<bool> ^ TryProposeNewTimeForMeetingAsync(Appointment ^ meeting, DateTime newStartTime, TimeSpan newDuration, Platform::String ^ subject, Platform::String ^ comment) = TryProposeNewTimeForMeetingAsync;
IAsyncOperation<bool> TryProposeNewTimeForMeetingAsync(Appointment const& meeting, DateTime const& newStartTime, TimeSpan const& newDuration, winrt::hstring const& subject, winrt::hstring const& comment);
public IAsyncOperation<bool> TryProposeNewTimeForMeetingAsync(Appointment meeting, System.DateTimeOffset newStartTime, System.TimeSpan newDuration, string subject, string comment);
function tryProposeNewTimeForMeetingAsync(meeting, newStartTime, newDuration, subject, comment)
Public Function TryProposeNewTimeForMeetingAsync (meeting As Appointment, newStartTime As DateTimeOffset, newDuration As TimeSpan, subject As String, comment As String) As IAsyncOperation(Of Boolean)

Parameters

meeting
Appointment

The meeting to update.

newStartTime
DateTime DateTimeOffset

The proposed new start time.

newDuration
TimeSpan TimeSpan

A new duration for the meeting.

subject
String

Platform::String

winrt::hstring

The subject of the meeting invitation.

comment
String

Platform::String

winrt::hstring

The body of the meeting invitation.

Returns

A Boolean value indicating if the operation was successful.

Windows requirements

App capabilities
appointmentsSystem

Applies to