SharedStorageAccessManager.RedeemTokenForFileAsync(String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
원본 앱에서 받은 공유 토큰을 제공하여 다른 앱에서 공유하는 파일을 가져옵니다.
public:
static IAsyncOperation<StorageFile ^> ^ RedeemTokenForFileAsync(Platform::String ^ token);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<StorageFile> RedeemTokenForFileAsync(winrt::hstring const& token);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<StorageFile> RedeemTokenForFileAsync(string token);
function redeemTokenForFileAsync(token)
Public Shared Function RedeemTokenForFileAsync (token As String) As IAsyncOperation(Of StorageFile)
매개 변수
- token
-
String
Platform::String
winrt::hstring
공유 파일에 대한 공유 토큰입니다.
반환
공유 파일을 포함하는 래퍼 개체입니다.
- 특성
설명
원본 앱이 대상 앱과 파일을 공유하는 경우 대상 앱은 RedeemTokenForFileAsync 메서드를 호출하여 공유 파일을 가져옵니다.
코드 샘플은 SharedStorageAccessManager를 참조하세요.