AppTaskInfo.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.