Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScheduledActionService Class

July 28, 2014

Enables the management of scheduled actions.

System.Object
  Microsoft.Phone.Scheduler.ScheduledActionService

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

public sealed class ScheduledActionService

The ScheduledActionService type exposes the following members.

  NameDescription
Public methodStatic memberAddRegisters a scheduled action with the operating system.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberFindAttempts to return the ScheduledAction with the specified name.
Public methodStatic memberGetActions<T>Returns all ScheduledAction objects of the specified type that are registered with the system.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberLaunchForTestCauses the background agent associated with a ScheduledTask to be run in the background after the specified delay.
Public methodStatic memberLaunchVoipHttpIncomingCallTaskThis method does nothing.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberRemoveRemoves the ScheduledAction with the specified name from the Scheduled Action Service.
Public methodStatic memberReplaceReplaces an existing ScheduledAction with the one provided. The Name property uniquely identifies ScheduledAction objects and is used to determine which existing object, if any, is replaced.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

ScheduledAction is a base class for Alarm and Reminder, which enable scheduled notifications to the end user, as well as PeriodicTask and ResourceIntensiveTask, which enable background agents that do processing even when the main application is not in the foreground. Use these child classes to create and configure scheduled actions, then use the Add(ScheduledAction) method to register the actions with the system. Use GetActions<T>() and Find(String) to retrieve actions that have been previously registered. Replace(ScheduledAction) is used to update an existing action, and Remove(String) removes a scheduled action from the system.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2014 Microsoft