다음을 통해 공유


AppInstallManager.SearchForAllUpdatesForUserAsync 메서드

정의

오버로드

SearchForAllUpdatesForUserAsync(User, String)

원격 분석 데이터를 생성하는 옵션을 사용하여 현재 컴퓨터 또는 디바이스에 설치된 앱에 대해 사용 가능한 모든 업데이트를 검색하여 지정된 사용자를 검색합니다.

SearchForAllUpdatesForUserAsync(User, String, String, AppUpdateOptions)

강제 앱 다시 시작을 허용하는 기능과 원격 분석 데이터를 생성하는 옵션을 사용하여 현재 컴퓨터 또는 디바이스에 설치된 앱에 대해 사용 가능한 모든 업데이트를 검색합니다.

SearchForAllUpdatesForUserAsync(User, String)

원격 분석 데이터를 생성하는 옵션을 사용하여 현재 컴퓨터 또는 디바이스에 설치된 앱에 대해 사용 가능한 모든 업데이트를 검색하여 지정된 사용자를 검색합니다.

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

매개 변수

user
User

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

correlationVector
String

Platform::String

winrt::hstring

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

반환

성공적으로 완료되면 사용 가능한 업데이트가 있는 앱 컬렉션을 반환하는 비동기 작업입니다. 비동기 프로그래밍을 사용하는 경우 결과 형식은 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

적용 대상

SearchForAllUpdatesForUserAsync(User, String, String, AppUpdateOptions)

강제 앱 다시 시작을 허용하는 기능과 원격 분석 데이터를 생성하는 옵션을 사용하여 현재 컴퓨터 또는 디바이스에 설치된 앱에 대해 사용 가능한 모든 업데이트를 검색합니다.

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

매개 변수

user
User

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

correlationVector
String

Platform::String

winrt::hstring

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

clientId
String

Platform::String

winrt::hstring

호출자의 ID입니다.

updateOptions
AppUpdateOptions

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

반환

성공적으로 완료되면 사용 가능한 업데이트가 있는 앱 컬렉션을 반환하는 비동기 작업입니다. 비동기 프로그래밍을 사용하는 경우 결과 형식은 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

적용 대상