Language

AppTaskInfo.Update(AppTaskState, AppTaskContent) Method

Definition

Updates both the state and content of this task.

public:
 virtual void Update(AppTaskState state, AppTaskContent ^ content) = Update;
/// [Windows.Foundation.Metadata.Experimental]
void Update(AppTaskState const& state, AppTaskContent const& content);
[Windows.Foundation.Metadata.Experimental]
public void Update(AppTaskState state, AppTaskContent content);
function update(state, content)
Public Sub Update (state As AppTaskState, content As AppTaskContent)

Parameters

state
AppTaskState

A value of the enumeration that indicates the new state of the task.

content
AppTaskContent

The new content to display for this task, created using one of the AppTaskContent factory methods.

Attributes

Remarks

Use this method to update the task representation as the task progresses, encounters errors, or completes.

Applies to