共用方式為


CompletionActions Enum

Definition

A set of flags that mark the visibility of a ITaskHandler in the Task Status Center UI upon completion.

This enumeration supports a bitwise combination of its member values.

public enum class CompletionActions
[System.Flags]
public enum CompletionActions
[<System.Flags>]
type CompletionActions = 
Public Enum CompletionActions
Inheritance
CompletionActions
Attributes

Fields

Name Value Description
None 0

After completion the task associated with this flag is removed from the Task Status Center UI.

RetainOnRanToCompletion 1

After the task associated with this flag runs to completion it is retained in the Task Status Center UI.

RetainOnFaulted 2

After the task associated with this flag faults it is retained in the Task Status Center UI.

RetainAndNotifyOnRanToCompletion 5

After the task associated with this flag runs to completion it is retained in the Task Status Center UI and a visual notification is provided to the user indicating the task completed.

RetainAndNotifyOnFaulted 10

After the task associated with this flag faults it is retained in the Task Status Center UI and a visual notification is provided to the user indicating the task faulted.

Applies to