Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 2.15 KB

File metadata and controls

24 lines (17 loc) · 2.15 KB
-api-id -api-type
T:Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation
winrt class

Windows.ApplicationModel.Appointments.AppointmentsProvider.AddAppointmentOperation

-description

Represents the operation object associated with adding a new appointment. Appointments provider apps use this info to perform the operation.

-remarks

This class is used as the value of the AddAppointmentOperation event data property from the AppointmentsProviderAddAppointmentActivatedEventArgs event data class. An appointments provider app typically goes through a series of casts and property checks starting from the IActivatedEventArgs event data of a general activation event handler. If the activation indicates that it's an AppointmentsProvider app activation kind with Add as the verb, then it's appropriate to cast event data to AppointmentsProviderAddAppointmentActivatedEventArgs.

Providers call methods of AddAppointmentOperation to indicate whether the operation was completed, was canceled, or when a provider error prevented the operation from being completed. Calling these methods influences the async results that the activating app gets back from its ShowAddAppointmentAsync call. All of the reporting methods (ReportCompleted, ReportCanceled, ReportError) dismiss the Add Appointment UI.

-examples

-see-also

-capabilities

appointmentsSystem