Remove Method

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)

'Declaration
Public Shared Sub Remove ( _
	name As String _
)

Parameters

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.

InvalidOperationException

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

Show:
© 2016 Microsoft