ScheduledActionService.GetActions<(Of <(T>)>) Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns all ScheduledAction objects of the specified type that are registered with the system.
Namespace: Microsoft.Phone.Scheduler
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Shared Function GetActions(Of T As ScheduledAction) As IEnumerable(Of T)
public static IEnumerable<T> GetActions<T>()
where T : ScheduledAction
Type Parameters
- T
The type of objects that should be returned.
Return Value
Type: System.Collections.Generic..::.IEnumerable<(Of <(T>)>)
All objects of the specified type that are registered with the system.
Remarks
The Scheduled Action Service does not maintain a reference to the objects returned by this method, and therefore the properties of the objects are not updated to reflect the current state after the call to GetActions. To obtain an object that is updated by the system as its state changes, use Find(String) instead.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone