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)

Syntax

Public Shared Function Find ( _
    name As String _
) As ScheduledAction
public static ScheduledAction Find(
    string name
)

Parameters

  • 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.

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ScheduledActionService Class

Microsoft.Phone.Scheduler Namespace