StoreContext.GetUserCollectionAsync(IIterable<String>) 메서드

정의

사용자가 구매한 현재 앱의 추가 기능에 대한 Microsoft Store 정보를 가져옵니다.

public:
 virtual IAsyncOperation<StoreProductQueryResult ^> ^ GetUserCollectionAsync(IIterable<Platform::String ^> ^ productKinds) = GetUserCollectionAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreProductQueryResult> GetUserCollectionAsync(IIterable<winrt::hstring> const& productKinds);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreProductQueryResult> GetUserCollectionAsync(IEnumerable<string> productKinds);
function getUserCollectionAsync(productKinds)
Public Function GetUserCollectionAsync (productKinds As IEnumerable(Of String)) As IAsyncOperation(Of StoreProductQueryResult)

매개 변수

productKinds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

정보를 검색할 추가 기능 유형을 지정하는 문자열 배열입니다. 지원되는 문자열 값 목록은 ProductKind 속성을 참조하세요.

반환

성공적으로 완료되면 사용자가 구매한 현재 앱의 추가 기능 및 관련 오류 정보에 대한 Microsoft Store 정보가 포함된 StoreProductQueryResult 개체를 반환하는 비동기 작업입니다.

특성

설명

코드 예제를 포함하여 이 메서드를 사용하는 방법에 대한 자세한 내용은 앱 및 추가 기능에 대한 제품 정보 가져오기를 참조하세요.

현재 사용자가 Store에 로그인하지 않은 경우 StoreProductQueryResult 반환 값의 ExtendedError 속성은 오류 코드 0x80070525(ERROR_NO_SUCH_USER)을 반환합니다.

적용 대상

추가 정보