다음을 통해 공유


AppInstallManager.SearchForUpdatesForUserAsync 메서드

정의

오버로드

SearchForUpdatesForUserAsync(User, String, String, String, String, AppUpdateOptions)

강제 앱 다시 시작을 허용하는 기능과 원격 분석 데이터를 생성하는 옵션을 사용하여 지정된 앱 및 사용자에 대한 업데이트를 검색합니다.

SearchForUpdatesForUserAsync(User, String, String, String, String)

원격 분석 데이터를 생성하는 옵션을 사용하여 지정된 앱 및 사용자에 대한 업데이트를 검색합니다.

SearchForUpdatesForUserAsync(User, String, String, String, String, AppUpdateOptions)

강제 앱 다시 시작을 허용하는 기능과 원격 분석 데이터를 생성하는 옵션을 사용하여 지정된 앱 및 사용자에 대한 업데이트를 검색합니다.

public:
 virtual IAsyncOperation<AppInstallItem ^> ^ SearchForUpdatesForUserAsync(User ^ user, Platform::String ^ productId, Platform::String ^ skuId, Platform::String ^ correlationVector, Platform::String ^ clientId, AppUpdateOptions ^ updateOptions) = SearchForUpdatesForUserAsync;
/// [Windows.Foundation.Metadata.Overload("SearchForUpdatesWithUpdateOptionsForUserAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppInstallItem> SearchForUpdatesForUserAsync(User const& user, winrt::hstring const& productId, winrt::hstring const& skuId, winrt::hstring const& correlationVector, winrt::hstring const& clientId, AppUpdateOptions const& updateOptions);
[Windows.Foundation.Metadata.Overload("SearchForUpdatesWithUpdateOptionsForUserAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppInstallItem> SearchForUpdatesForUserAsync(User user, string productId, string skuId, string correlationVector, string clientId, AppUpdateOptions updateOptions);
function searchForUpdatesForUserAsync(user, productId, skuId, correlationVector, clientId, updateOptions)
Public Function SearchForUpdatesForUserAsync (user As User, productId As String, skuId As String, correlationVector As String, clientId As String, updateOptions As AppUpdateOptions) As IAsyncOperation(Of AppInstallItem)

매개 변수

user
User

이 작업에 지정할 사용자를 식별하는 개체입니다.

productId
String

Platform::String

winrt::hstring

업데이트를 쿼리할 앱의 제품 ID입니다.

skuId
String

Platform::String

winrt::hstring

업데이트를 쿼리할 앱의 SKU ID입니다.

correlationVector
String

Platform::String

winrt::hstring

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

clientId
String

Platform::String

winrt::hstring

호출자의 ID입니다.

updateOptions
AppUpdateOptions

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

반환

성공적으로 완료되면 사용 가능한 업데이트를 나타내는 AppInstallItem 을 반환하는 비동기 작업입니다.

특성

Windows 요구 사항

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

적용 대상

SearchForUpdatesForUserAsync(User, String, String, String, String)

원격 분석 데이터를 생성하는 옵션을 사용하여 지정된 앱 및 사용자에 대한 업데이트를 검색합니다.

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

매개 변수

user
User

이 작업에 지정할 사용자를 식별하는 개체입니다.

productId
String

Platform::String

winrt::hstring

업데이트를 쿼리할 앱의 제품 ID입니다.

skuId
String

Platform::String

winrt::hstring

업데이트를 쿼리할 앱의 SKU ID입니다.

catalogId
String

Platform::String

winrt::hstring

업데이트를 쿼리할 앱의 카탈로그 ID입니다.

correlationVector
String

Platform::String

winrt::hstring

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

반환

성공적으로 완료되면 사용 가능한 업데이트를 나타내는 AppInstallItem 을 반환하는 비동기 작업입니다.

특성

Windows 요구 사항

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

적용 대상