AppInstallItem.Restart Method

Definition

Overloads

Restart()

Restarts the installation of the current app.

Restart(String)

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

Restart()

Restarts the installation of the current app.

public:
 virtual void Restart() = Restart;
void Restart();
public void Restart();
function restart()
Public Sub Restart ()

Windows requirements

App capabilities
runFullTrust

See also

Applies to

Restart(String)

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

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

Parameters

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