다음을 통해 공유


WalletItemStore.ImportItemAsync(IRandomAccessStreamReference) 메서드

정의

주의

ApplicationModel.Wallet 네임스페이스는 더 이상 지원되지 않으며 곧 더 이상 사용되지 않습니다. 개발자는 이 네임스페이스를 사용하지 않는 것이 좋습니다.

".mswallet" XML 파일에서 전자지갑 저장소로 데이터를 가져옵니다.". mswallet"은 전자지갑 항목 정보에 대한 XML serialization 형식입니다. ".mswallet" 형식(및 XSD의 스키마에 대한 링크)에 대한 가이드는 빠른 시작: .mswallet 파일 만들기 및 배포를 참조하세요.

public:
 virtual IAsyncOperation<WalletItem ^> ^ ImportItemAsync(IRandomAccessStreamReference ^ stream) = ImportItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference const& stream);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference const& stream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference stream);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IWalletItemStore is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<WalletItem> ImportItemAsync(IRandomAccessStreamReference stream);
function importItemAsync(stream)
Public Function ImportItemAsync (stream As IRandomAccessStreamReference) As IAsyncOperation(Of WalletItem)

매개 변수

stream
IRandomAccessStreamReference

가져올 ".mswallet" 파일입니다.

반환

성공적으로 완료될 때 지갑으로 가져온 지갑 항목을 반환하는 비동기 작업입니다. 비동기 프로그래밍을 사용하는 경우 성공적인 완료 시 결과 형식은 단일 WalletItem입니다.

특성

적용 대상

추가 정보