다음을 통해 공유


AppInstallManager.SearchForUpdatesAsync 메서드

정의

오버로드

SearchForUpdatesAsync(String, String)

지정된 앱에 대한 업데이트를 검색합니다.

SearchForUpdatesAsync(String, String, String, String)

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

SearchForUpdatesAsync(String, String, String, String, AppUpdateOptions)

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

SearchForUpdatesAsync(String, String)

지정된 앱에 대한 업데이트를 검색합니다.

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

매개 변수

productId
String

Platform::String

winrt::hstring

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

skuId
String

Platform::String

winrt::hstring

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

반환

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

특성

Windows 요구 사항

앱 기능
runFullTrust

추가 정보

적용 대상

SearchForUpdatesAsync(String, String, String, String)

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

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

매개 변수

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 (10.0.10586.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v2.0에서 도입되었습니다.)
앱 기능
runFullTrust

추가 정보

적용 대상

SearchForUpdatesAsync(String, String, String, String, AppUpdateOptions)

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

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

매개 변수

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

적용 대상