This topic has not yet been rated - Rate this topic

ScheduledActionService.GetActions<T> Method

April 12, 2014

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)
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<T>
All objects of the specified type that are registered with the system.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.