AppInstallManager.UpdateAppByPackageFamilyNameAsync Method

Definition

Overloads

UpdateAppByPackageFamilyNameAsync(String)

Starts the update of an app specified by the package family name.

UpdateAppByPackageFamilyNameAsync(String, String)

Starts the update of an app specified by the package family name, with the option to generate telemetry data.

UpdateAppByPackageFamilyNameAsync(String)

Starts the update of an app specified by the package family name.

public:
 virtual IAsyncOperation<AppInstallItem ^> ^ UpdateAppByPackageFamilyNameAsync(Platform::String ^ packageFamilyName) = UpdateAppByPackageFamilyNameAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppInstallItem> UpdateAppByPackageFamilyNameAsync(winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppInstallItem> UpdateAppByPackageFamilyNameAsync(string packageFamilyName);
function updateAppByPackageFamilyNameAsync(packageFamilyName)
Public Function UpdateAppByPackageFamilyNameAsync (packageFamilyName As String) As IAsyncOperation(Of AppInstallItem)

Parameters

packageFamilyName
String

Platform::String

winrt::hstring

The package family name of the app to update.

Returns

An asynchronous operation that, on successful completion, returns an AppInstallItem that represents the app update that was added to the installation queue.

Attributes

Windows requirements

App capabilities
runFullTrust

See also

Applies to

UpdateAppByPackageFamilyNameAsync(String, String)

Starts the update of an app specified by the package family name, with the option to generate telemetry data.

public:
 virtual IAsyncOperation<AppInstallItem ^> ^ UpdateAppByPackageFamilyNameAsync(Platform::String ^ packageFamilyName, Platform::String ^ correlationVector) = UpdateAppByPackageFamilyNameAsync;
/// [Windows.Foundation.Metadata.Overload("UpdateAppByPackageFamilyNameWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppInstallItem> UpdateAppByPackageFamilyNameAsync(winrt::hstring const& packageFamilyName, winrt::hstring const& correlationVector);
[Windows.Foundation.Metadata.Overload("UpdateAppByPackageFamilyNameWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppInstallItem> UpdateAppByPackageFamilyNameAsync(string packageFamilyName, string correlationVector);
function updateAppByPackageFamilyNameAsync(packageFamilyName, correlationVector)
Public Function UpdateAppByPackageFamilyNameAsync (packageFamilyName As String, correlationVector As String) As IAsyncOperation(Of AppInstallItem)

Parameters

packageFamilyName
String

Platform::String

winrt::hstring

The package family name of the app to update.

correlationVector
String

Platform::String

winrt::hstring

A correlation vector string that can be used to generate telemetry data.

Returns

An asynchronous operation that, on successful completion, returns an AppInstallItem that represents the app update that was added to the installation queue.

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