C# 클래스 OfficeTicTacToe.Common.TaskHelper

파일 보기 프로젝트 열기: DXFrance/OfficeTicTacToe

공개 프로퍼티들

프로퍼티 타입 설명
TimeTriggeredTaskProgress string
TimeTriggeredTaskRegistered bool

공개 메소드들

메소드 설명
CheckTileBrackgroundTask ( ) : void
GetBackgroundTaskStatus ( String name ) : String

Get the registration / completion status of the background task with given name.

RegisterTileBackgroundTask ( ) : System.Threading.Tasks.Task

Register task for every 15 minutes if Internet is available

SendNotification ( ) : System.Threading.Tasks.Task
TaskRequiresBackgroundAccess ( String name ) : bool

Determine if task with given name requires background access.

UnregisterBackgroundTasks ( string name ) : void

Unregister background tasks with specified name.

비공개 메소드들

메소드 설명
AttachProgressAndCompletedHandlers ( IBackgroundTaskRegistration task ) : void
OnCompleted ( IBackgroundTaskRegistration task, BackgroundTaskCompletedEventArgs args ) : void

Handle background task completion.

OnProgress ( IBackgroundTaskRegistration task, BackgroundTaskProgressEventArgs args ) : void

Handle background task progress.

RegisterBackgroundTask ( String taskEntryPoint, String name, IBackgroundTrigger trigger, IBackgroundCondition condition ) : Task

Register a background task with the specified taskEntryPoint, name, trigger, and condition (optional).

메소드 상세

CheckTileBrackgroundTask() 공개 메소드

public CheckTileBrackgroundTask ( ) : void
리턴 void

GetBackgroundTaskStatus() 공개 정적인 메소드

Get the registration / completion status of the background task with given name.
public static GetBackgroundTaskStatus ( String name ) : String
name String Name of background task to retreive registration status.
리턴 String

RegisterTileBackgroundTask() 공개 메소드

Register task for every 15 minutes if Internet is available
public RegisterTileBackgroundTask ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SendNotification() 공개 메소드

public SendNotification ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

TaskRequiresBackgroundAccess() 공개 정적인 메소드

Determine if task with given name requires background access.
public static TaskRequiresBackgroundAccess ( String name ) : bool
name String Name of background task to query background access requirement.
리턴 bool

UnregisterBackgroundTasks() 공개 메소드

Unregister background tasks with specified name.
public UnregisterBackgroundTasks ( string name ) : void
name string Name of the background task to unregister.
리턴 void

프로퍼티 상세

TimeTriggeredTaskProgress 공개적으로 정적으로 프로퍼티

public static string TimeTriggeredTaskProgress
리턴 string

TimeTriggeredTaskRegistered 공개적으로 정적으로 프로퍼티

public static bool TimeTriggeredTaskRegistered
리턴 bool