Language

AppTaskInfo.Remove Method

Definition

Removes this task from the Windows Shell, but doesn't change its state.

public:
 virtual void Remove() = Remove;
/// [Windows.Foundation.Metadata.Experimental]
void Remove();
[Windows.Foundation.Metadata.Experimental]
public void Remove();
function remove()
Public Sub Remove ()
Attributes

Remarks

Call this method when the app determines it no longer wants to display the task on the taskbar, such as when the task has completed or the user has deleted the task from within the app. Calling Remove multiple times is harmless.

Applies to