AppointmentCalendarSyncManagerSyncRequest
AppointmentCalendarSyncManagerSyncRequest
AppointmentCalendarSyncManagerSyncRequest
AppointmentCalendarSyncManagerSyncRequest
Class
Definition
Represents the user's request to sync the calendar.
public : sealed class AppointmentCalendarSyncManagerSyncRequest : IAppointmentCalendarSyncManagerSyncRequestpublic sealed class AppointmentCalendarSyncManagerSyncRequest : IAppointmentCalendarSyncManagerSyncRequestPublic NotInheritable Class AppointmentCalendarSyncManagerSyncRequest Implements IAppointmentCalendarSyncManagerSyncRequest// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
The system generates an instance of this class and sets it as a property in the AppointmentCalendarSyncManagerSyncRequestEventArgs argument of the SyncRequested event.
Properties
AppointmentCalendarLocalId AppointmentCalendarLocalId AppointmentCalendarLocalId AppointmentCalendarLocalId
Gets a string that uniquely identifies the calendar associated with the appointment on the local device.
public : PlatForm::String AppointmentCalendarLocalId { get; }public string AppointmentCalendarLocalId { get; }Public ReadOnly Property AppointmentCalendarLocalId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
A string that uniquely identifies the calendar on the local device.
Methods
ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync() ReportCompletedAsync()
Notifies the system that the task of syncing the calendar has completed.
public : IAsyncAction ReportCompletedAsync()public IAsyncAction ReportCompletedAsync()Public Function ReportCompletedAsync() As IAsyncAction// You can use this method in JavaScript.
Returns
An asynchronous operation.
Remarks
This method should be called only if the app has successfully synced the calendar.
ReportFailedAsync() ReportFailedAsync() ReportFailedAsync() ReportFailedAsync()
Notifies the system that the task of syncing the calendar has failed.
public : IAsyncAction ReportFailedAsync()public IAsyncAction ReportFailedAsync()Public Function ReportFailedAsync() As IAsyncAction// You can use this method in JavaScript.
Returns
An asynchronous operation.
Remarks
This method should be called only if the app has failed to sync the calendar.