Being an Appointments Provider Target

The Appointment Provider target must declare the windows.appointmentProvider contract in XML and specify one or more of the following verbs: addAppointment, removeAppointment, replaceAppointment, and showTimeFrame. As with the Contact contract, the Visual Studio package manifest designer does not yet support this.

When your app is selected as the appointments provider for one of the four tasks, you handle an appointments provider activation as follows by overriding the OnActivated method in App.xaml.cs:

protected override void OnActivated(IActivatedEventArgs args) {   // Note: If Window.Current.Content isn't null, this is an existing   //       window from a running or suspended ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.