Find Method
Collapse the table of content
Expand the table of content

ScheduledActionService.Find Method

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

Attempts to return the ScheduledAction with the specified name.

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

public static ScheduledAction Find(
	string name


Type: System.String
The unique identifier of the ScheduledAction to be retrieved.

Return Value

Type: Microsoft.Phone.Scheduler.ScheduledAction
The ScheduledAction associated with the provided name. If the requested name is not found, null is returned.

The Scheduled Action Service maintains a reference to the object returned by this method, and therefore its properties are updated to reflect its current state.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2017 Microsoft