AppInstallItem.Cancel 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
Cancel() |
Cancels the installation of the current app. |
Cancel(String) |
Cancels the installation of the current app, with the option to generate telemetry data. |
Cancel()
Cancels the installation of the current app.
public:
virtual void Cancel() = Cancel;
void Cancel();
public void Cancel();
function cancel()
Public Sub Cancel ()
Windows requirements
App capabilities |
runFullTrust
|
See also
Applies to
Cancel(String)
Cancels the installation of the current app, with the option to generate telemetry data.
public:
virtual void Cancel(Platform::String ^ correlationVector) = Cancel;
/// [Windows.Foundation.Metadata.Overload("CancelWithTelemetry")]
void Cancel(winrt::hstring const& correlationVector);
[Windows.Foundation.Metadata.Overload("CancelWithTelemetry")]
public void Cancel(string correlationVector);
function cancel(correlationVector)
Public Sub Cancel (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
|