AddPackageAsync(String, Uri, String, String, Uri) | addPackageAsync(String, Uri, String, String, Uri) method

InstallationManager.AddPackageAsync(String, Uri, String, String, Uri) | addPackageAsync(String, Uri, String, String, Uri) method

This API is not intended to be used directly from your code.

Syntax


Windows.Phone.Management.Deployment.InstallationManager.addPackageAsync(title, sourceLocation, instanceId, offerId, license).done( /* Your success and error handlers */ );

Parameters

title

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

This API is not intended to be used directly from your code.

sourceLocation

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

This API is not intended to be used directly from your code.

instanceId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

This API is not intended to be used directly from your code.

offerId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

This API is not intended to be used directly from your code.

license

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

This API is not intended to be used directly from your code.

Return value

Type: IAsyncOperationWithProgress<PackageInstallResult, UInt32>

This API is not intended to be used directly from your code.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.Management.Deployment
Windows::Phone::Management::Deployment [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Management.Deployment
Windows::Phone::Management::Deployment [C++]

Metadata

Windows.WinMD

See also

InstallationManager
AddPackageAsync(String, Uri)

 

 

Show:
© 2016 Microsoft