AppInstallManager.UpdateAppByPackageFamilyNameForUserAsync Method

Definition

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

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

Parameters

user
User

An object that identifies the user to specify for this operation.

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 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
runFullTrust

Applies to