AppInstallManager.Pause 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.
Overloads
Pause(String, String) |
Pauses the installation of the specified app, with the option to generate telemetry data. |
Pause(String) |
Pauses the installation of the specified app. |
Pause(String, String)
Pauses the installation of the specified app, with the option to generate telemetry data.
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)
Parameters
- productId
-
String
Platform::String
winrt::hstring
The product ID of the app whose installation should be paused.
- correlationVector
-
String
Platform::String
winrt::hstring
A correlation vector string that can be used to generate telemetry data.
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
App capabilities |
runFullTrust
|
See also
Applies to
Pause(String)
Pauses the installation of the specified app.
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)
Parameters
- productId
-
String
Platform::String
winrt::hstring
The product ID of the app whose installation should be paused.
Windows requirements
App capabilities |
runFullTrust
|