与应用扩展性点关联的后台任务。
元素层次结构
<uap:Task>
语法
<uap:Task
Type = 'A string that can have one of the following values: "chatMessageNotification", "vpnClient", "phoneCall", or "mediaProcessing".' />
特性和元素
属性
| 属性 | 说明 | 数据类型 | 必须 | 默认值 |
|---|---|---|---|---|
| 类型 | 任务的类型。 | 可具有以下值之一的字符串: chatMessageNotification、 vpnClient、 phoneCall 或 mediaProcessing。 | 是 |
子元素
无。
父元素
| 父元素 | 描述 |
|---|---|
| BackgroundTasks | 定义 类型为 windows.backgroundTasks 的应用扩展点。 后台任务在专用后台主机中运行;即,没有 UI。 |
要求
| 项 | 值 |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10 |
| Minimum OS Version | Windows 10版本 1511 (内部版本 10586) |