AppInstallManager.Pause 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Pause(String, String) |
使用生成遥测数据的选项暂停指定应用的安装。 |
Pause(String) |
暂停指定应用的安装。 |
Pause(String, String)
使用生成遥测数据的选项暂停指定应用的安装。
public:
virtual void Pause(Platform::String ^ productId, Platform::String ^ correlationVector) = Pause;
/// [Windows.Foundation.Metadata.Overload("PauseWithTelemetry")]
void Pause(winrt::hstring const& productId, winrt::hstring const& correlationVector);
[Windows.Foundation.Metadata.Overload("PauseWithTelemetry")]
public void Pause(string productId, string correlationVector);
function pause(productId, correlationVector)
Public Sub Pause (productId As String, correlationVector As String)
参数
- productId
-
String
Platform::String
winrt::hstring
应暂停其安装的应用的产品 ID。
- correlationVector
-
String
Platform::String
winrt::hstring
可用于生成遥测数据的相关向量字符串。
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10586.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)
|
应用功能 |
runFullTrust
|
另请参阅
适用于
Pause(String)
暂停指定应用的安装。
public:
virtual void Pause(Platform::String ^ productId) = Pause;
void Pause(winrt::hstring const& productId);
public void Pause(string productId);
function pause(productId)
Public Sub Pause (productId As String)
参数
- productId
-
String
Platform::String
winrt::hstring
应暂停其安装的应用的产品 ID。
Windows 要求
应用功能 |
runFullTrust
|