AppInstallManager.Restart Method

Definition

Overloads

Restart(String)

Restarts the installation of the specified app.

Restart(String, String)

Restarts the installation of the specified app, with the option to generate telemetry data.

Restart(String)

Restarts the installation of the specified app.

public:
 virtual void Restart(Platform::String ^ productId) = Restart;
void Restart(winrt::hstring const& productId);
public void Restart(string productId);
function restart(productId)
Public Sub Restart (productId As String)

Parameters

productId
String

Platform::String

winrt::hstring

The product ID of the app whose installation should be restarted.

Windows requirements

App capabilities
runFullTrust

See also

Applies to

Restart(String, String)

Restarts the installation of the specified app, with the option to generate telemetry data.

public:
 virtual void Restart(Platform::String ^ productId, Platform::String ^ correlationVector) = Restart;
/// [Windows.Foundation.Metadata.Overload("RestartWithTelemetry")]
void Restart(winrt::hstring const& productId, winrt::hstring const& correlationVector);
[Windows.Foundation.Metadata.Overload("RestartWithTelemetry")]
public void Restart(string productId, string correlationVector);
function restart(productId, correlationVector)
Public Sub Restart (productId As String, correlationVector As String)

Parameters

productId
String

Platform::String

winrt::hstring

The product ID of the app whose installation should be restarted.

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