다음을 통해 공유


AppInstallManager.StartProductInstallAsync 메서드

정의

오버로드

StartProductInstallAsync(String, String, String, String, AppInstallOptions)

강제 앱 다시 시작을 허용할지 여부와 같은 추가 설치 옵션을 지정하는 기능을 사용하여 지정된 앱 또는 앱 번들의 설치를 시작합니다.

StartProductInstallAsync(String, String, String, String, Boolean, Boolean, String, PackageVolume)

지정된 앱 또는 앱 번들의 설치를 시작합니다.

StartProductInstallAsync(String, String, String, String, AppInstallOptions)

강제 앱 다시 시작을 허용할지 여부와 같은 추가 설치 옵션을 지정하는 기능을 사용하여 지정된 앱 또는 앱 번들의 설치를 시작합니다.

public:
 virtual IAsyncOperation<IVectorView<AppInstallItem ^> ^> ^ StartProductInstallAsync(Platform::String ^ productId, Platform::String ^ flightId, Platform::String ^ clientId, Platform::String ^ correlationVector, AppInstallOptions ^ installOptions) = StartProductInstallAsync;
/// [Windows.Foundation.Metadata.Overload("StartProductInstallWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<AppInstallItem>> StartProductInstallAsync(winrt::hstring const& productId, winrt::hstring const& flightId, winrt::hstring const& clientId, winrt::hstring const& correlationVector, AppInstallOptions const& installOptions);
[Windows.Foundation.Metadata.Overload("StartProductInstallWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<AppInstallItem>> StartProductInstallAsync(string productId, string flightId, string clientId, string correlationVector, AppInstallOptions installOptions);
function startProductInstallAsync(productId, flightId, clientId, correlationVector, installOptions)
Public Function StartProductInstallAsync (productId As String, flightId As String, clientId As String, correlationVector As String, installOptions As AppInstallOptions) As IAsyncOperation(Of IReadOnlyList(Of AppInstallItem))

매개 변수

productId
String

Platform::String

winrt::hstring

설치할 앱의 제품 ID입니다.

flightId
String

Platform::String

winrt::hstring

설치할 앱의 플라이트 ID입니다.

clientId
String

Platform::String

winrt::hstring

호출자의 ID입니다.

correlationVector
String

Platform::String

winrt::hstring

원격 분석 데이터를 생성하는 데 사용할 수 있는 상관 관계 벡터 문자열입니다.

installOptions
AppInstallOptions

강제 앱 다시 시작을 허용하는 기능을 포함하여 작업에 대한 추가 옵션을 제공합니다.

반환

성공적으로 완료되면 설치 큐에 추가된 앱 또는 앱 집합(앱 번들의 경우)을 반환하는 비동기 작업입니다. 비동기 프로그래밍을 사용하는 경우 결과 형식은 AppInstallItem 항목의 읽기 전용 목록/벡터입니다. ( IVectorView<AppInstallItem> for C++ 또는 JavaScript, IReadOnlyList<AppInstallItem> for .NET의 API를 사용할 수 있습니다.)

특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v6.0에서 도입되었습니다.)
앱 기능
runFullTrust

적용 대상

StartProductInstallAsync(String, String, String, String, Boolean, Boolean, String, PackageVolume)

지정된 앱 또는 앱 번들의 설치를 시작합니다.

public:
 virtual IAsyncOperation<IVectorView<AppInstallItem ^> ^> ^ StartProductInstallAsync(Platform::String ^ productId, Platform::String ^ catalogId, Platform::String ^ flightId, Platform::String ^ clientId, bool repair, bool forceUseOfNonRemovableStorage, Platform::String ^ correlationVector, PackageVolume ^ targetVolume) = StartProductInstallAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<AppInstallItem>> StartProductInstallAsync(winrt::hstring const& productId, winrt::hstring const& catalogId, winrt::hstring const& flightId, winrt::hstring const& clientId, bool const& repair, bool const& forceUseOfNonRemovableStorage, winrt::hstring const& correlationVector, PackageVolume const& targetVolume);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<AppInstallItem>> StartProductInstallAsync(string productId, string catalogId, string flightId, string clientId, bool repair, bool forceUseOfNonRemovableStorage, string correlationVector, PackageVolume targetVolume);
function startProductInstallAsync(productId, catalogId, flightId, clientId, repair, forceUseOfNonRemovableStorage, correlationVector, targetVolume)
Public Function StartProductInstallAsync (productId As String, catalogId As String, flightId As String, clientId As String, repair As Boolean, forceUseOfNonRemovableStorage As Boolean, correlationVector As String, targetVolume As PackageVolume) As IAsyncOperation(Of IReadOnlyList(Of AppInstallItem))

매개 변수

productId
String

Platform::String

winrt::hstring

설치할 앱의 제품 ID입니다.

catalogId
String

Platform::String

winrt::hstring

설치할 앱의 카탈로그 ID입니다.

flightId
String

Platform::String

winrt::hstring

설치할 앱의 플라이트 ID입니다.

clientId
String

Platform::String

winrt::hstring

호출자의 ID입니다.

repair
Boolean

bool

True이면 이미 설치된 앱의 설치를 복구하려고 합니다. 그렇지 않으면 false입니다.

forceUseOfNonRemovableStorage
Boolean

bool

True이면 사용자가 SD 카드 설치하도록 앱을 구성한 경우에도 이동식이 아닌 스토리지에 앱을 설치합니다. false이면 사용자의 설정에 따라 이동식이 아닌 스토리지 또는 SD 카드 앱을 설치합니다.

correlationVector
String

Platform::String

winrt::hstring

원격 분석 데이터를 생성하는 데 사용할 수 있는 상관 관계 벡터 문자열입니다.

targetVolume
PackageVolume

앱 또는 앱 번들이 설치될 패키지 스토리지 볼륨입니다.

반환

성공적으로 완료되면 설치 큐에 추가된 앱 또는 앱 집합(앱 번들의 경우)을 반환하는 비동기 작업입니다. 비동기 프로그래밍을 사용하는 경우 결과 형식은 AppInstallItem 항목의 읽기 전용 목록/벡터입니다. ( IVectorView<AppInstallItem> for C++ 또는 JavaScript, IReadOnlyList<AppInstallItem> for .NET의 API를 사용할 수 있습니다.)

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)
앱 기능
runFullTrust

적용 대상