다음을 통해 공유


CurrentAppSimulator.LoadListingInformationByProductIdsAsync 메서드

정의

시뮬레이션된 앱 목록 정보를 비동기적으로 로드하여 지정된 제품 ID와 일치하는 ProductListings 컬렉션에서 사용 가능한 앱 내 제품을 반환합니다.

public:
 static IAsyncOperation<ListingInformation ^> ^ LoadListingInformationByProductIdsAsync(IIterable<Platform::String ^> ^ productIds);
 static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IIterable<winrt::hstring> const& productIds);
public static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IEnumerable<string> productIds);
function loadListingInformationByProductIdsAsync(productIds)
Public Shared Function LoadListingInformationByProductIdsAsync (productIds As IEnumerable(Of String)) As IAsyncOperation(Of ListingInformation)

매개 변수

productIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

ProductListings 컬렉션을 필터링할 제품 ID 목록입니다.

반환

제품 ID로 필터링된 ProductListings 컬렉션이 있는 시뮬레이션된 앱 목록 정보입니다. 메서드가 실패하면 HRESULT 오류 코드가 반환됩니다. 지정된 제품 ID와 일치하는 앱 내 제품이 없으면 ProductListings 컬렉션이 비어 있습니다.

설명

WindowsStoreProxy.xml 파일의 ListingInformation 요소를 반환된 개체의 멤버에 대한 데이터 원본으로 사용합니다. 자세한 내용은 CurrentAppSimulator에서 WindowsStoreProxy.xml 파일 사용을 참조하세요.

이 메서드를 호출하려면 인터넷 연결이 필요합니다.

적용 대상