ScheduledActionService.Remove Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Removes the ScheduledAction with the specified name from the Scheduled Action Service.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static void Remove(
	string name


Type: System.String
The name uniquely identifying the ScheduledAction to be removed.

You can use the Find(String) method to verify that the specified name is registered with the service before calling Remove to remove it.

This method may throw one of the following exceptions.


No Scheduled Action with the specified name is registered with the service.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2015 Microsoft