Silverlight 5 | WinRT |
public sealed class AddToLockScreenOperation | |
: __ComObject, IAsyncOperation`1<LockScreenState>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<LockScreenState> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual LockScreenState GetResults(); | |
public virtual void Start(); |
public sealed class BackgroundTaskBuilder | |
: __ComObject, IBackgroundTaskBuilder | |
public virtual String Name { get; set; } | |
public virtual String TaskEntryPoint { get; set; } | |
public virtual void AddCondition(IBackgroundCondition condition); | |
public virtual IBackgroundTaskRegistration Register(); | |
public virtual void SetTrigger(IBackgroundTrigger trigger); |
public sealed class BackgroundTaskCanceledEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason); |
public sealed enum BackgroundTaskCancellationReason | |
: IComparable, IFormattable, IConvertible | |
{ Abort, Terminating, LoggingOff, ServicingUpdate } |
public sealed class BackgroundTaskCompletedEventArgs | |
: __ComObject, IBackgroundTaskCompletedEventArgs | |
public virtual Guid InstanceId { get; } | |
public virtual Exception Status { get; } |
public sealed class BackgroundTaskCompletedEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(IBackgroundTaskRegistration sender, BackgroundTaskCompletedEventArgs args); |
public sealed class BackgroundTaskProgressEventArgs | |
: __ComObject, IBackgroundTaskProgressEventArgs | |
public virtual Guid InstanceId { get; } | |
public virtual UInt32 Progress { get; } |
public sealed class BackgroundTaskProgressEventHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(IBackgroundTaskRegistration sender, BackgroundTaskProgressEventArgs args); |
public sealed class BackgroundTaskRegistration | |
: __ComObject, IBackgroundTaskRegistration | |
static public IReadOnlyDictionary`2<Guid, IBackgroundTaskRegistration> AllTasks { get; } | |
public virtual String Name { get; } | |
public virtual Guid TaskId { get; } | |
public virtual event BackgroundTaskCompletedEventHandler Completed; | |
public virtual event BackgroundTaskProgressEventHandler Progress; | |
public virtual void Unregister(Boolean cancelTask); |
public abstract interface IBackgroundCondition | |
public abstract interface IBackgroundTask | |
public abstract virtual void Run(IBackgroundTaskInstance taskInstance); |
public abstract interface IBackgroundTaskFactory | |
public abstract virtual IBackgroundTask Load(String taskEntryPointName); |
public abstract interface IBackgroundTaskInstance | |
public abstract virtual Guid InstanceId { get; } | |
public abstract virtual UInt32 Progress { get; set; } | |
public abstract virtual IBackgroundTaskRegistration Task { get; } | |
public abstract virtual Object TriggerDetails { get; } | |
public abstract virtual event BackgroundTaskCanceledEventHandler Canceled; |
public abstract interface IBackgroundTaskRegistration | |
public abstract virtual String Name { get; } | |
public abstract virtual Guid TaskId { get; } | |
public abstract virtual event BackgroundTaskCompletedEventHandler Completed; | |
public abstract virtual event BackgroundTaskProgressEventHandler Progress; | |
public abstract virtual void Unregister(Boolean cancelTask); |
public abstract interface IBackgroundTaskRegistrationStaticMethods | |
public abstract virtual IReadOnlyDictionary`2<Guid, IBackgroundTaskRegistration> AllTasks { get; } |
public abstract interface IBackgroundTrigger | |
public abstract interface ILockScreenStatics | |
public abstract virtual AddToLockScreenOperation AddToLockScreenAsync(); | |
public abstract virtual AddToLockScreenOperation AddToLockScreenAsync(String applicationIdentifier); | |
public abstract virtual LockScreenState QueryLockScreenState(); | |
public abstract virtual LockScreenState QueryLockScreenState(String applicationIdentifier); | |
public abstract virtual void RemoveFromLockScreen(); | |
public abstract virtual void RemoveFromLockScreen(String applicationIdentifier); |
public abstract interface INetworkOperatorNotificationTrigger | |
: IBackgroundTrigger | |
public abstract virtual String NetworkAccountId { get; } |
public abstract interface ISystemCondition | |
: IBackgroundCondition | |
public abstract virtual SystemConditionType ConditionType { get; } |
public abstract interface ISystemConditionFactory | |
public abstract virtual SystemCondition Create(SystemConditionType ConditionType); |
public abstract interface ISystemTrigger | |
: IBackgroundTrigger | |
public abstract virtual Boolean OneShot { get; } | |
public abstract virtual SystemTriggerType TriggerType { get; } |
public abstract interface ISystemTriggerFactory | |
public abstract virtual SystemTrigger Create(SystemTriggerType TriggerType, Boolean OneShot); |
public abstract interface ITimeTrigger | |
: IBackgroundTrigger | |
public abstract virtual UInt32 FreshnessTime { get; } | |
public abstract virtual Boolean OneShot { get; } |
public abstract interface ITimeTriggerFactory | |
public abstract virtual TimeTrigger Create(UInt32 FreshnessTime, Boolean OneShot); |
public abstract sealed class LockScreen | |
: __ComObject | |
static public AddToLockScreenOperation AddToLockScreenAsync(); | |
static public AddToLockScreenOperation AddToLockScreenAsync(String applicationIdentifier); | |
static public LockScreenState QueryLockScreenState(); | |
static public LockScreenState QueryLockScreenState(String applicationIdentifier); | |
static public void RemoveFromLockScreen(); | |
static public void RemoveFromLockScreen(String applicationIdentifier); |
public sealed enum LockScreenState | |
: IComparable, IFormattable, IConvertible | |
{ NotOnLockScreen, OnLockScreen, DefaultNotOnLockScreen } |
public sealed class NetworkOperatorNotificationTrigger | |
: __ComObject, INetworkOperatorNotificationTrigger, IBackgroundTrigger | |
public virtual String NetworkAccountId { get; } |
public sealed class SystemCondition | |
: __ComObject, ISystemCondition, IBackgroundCondition | |
public virtual SystemConditionType ConditionType { get; } |
public sealed enum SystemConditionType | |
: IComparable, IFormattable, IConvertible | |
{ None, UserPresent, UserNotPresent, InternetAvailable, InternetNotAvailable, SessionConnected, SessionDisconnected } |
public sealed class SystemTrigger | |
: __ComObject, ISystemTrigger, IBackgroundTrigger | |
public virtual Boolean OneShot { get; } | |
public virtual SystemTriggerType TriggerType { get; } |
public sealed enum SystemTriggerType | |
: IComparable, IFormattable, IConvertible | |
{ None, SessionStart, SmsReceived, UserPresent, UserAway, NetworkStateChange, NetworkNotificationChannelReset, InternetAvailable, InternetNotAvailable, SessionConnected, SessionDisconnected, ServicingComplete, LockScreenApplicationAdded, LockScreenApplicationRemoved, TimeZoneChange } |
public sealed class TimeTrigger | |
: __ComObject, ITimeTrigger, IBackgroundTrigger | |
public virtual UInt32 FreshnessTime { get; } | |
public virtual Boolean OneShot { get; } |