Share via


IRemoteFileSystemProvider.ConvertRemoteUriToLocalUriAsync Method

Definition

Converts a remote URI using the provider's URI scheme to a local URI.

public:
 System::Threading::Tasks::Task<Uri ^> ^ ConvertRemoteUriToLocalUriAsync(Uri ^ remoteUri, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Uri> ConvertRemoteUriToLocalUriAsync (Uri remoteUri, System.Threading.CancellationToken cancellationToken);
abstract member ConvertRemoteUriToLocalUriAsync : Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Uri>
Public Function ConvertRemoteUriToLocalUriAsync (remoteUri As Uri, cancellationToken As CancellationToken) As Task(Of Uri)

Parameters

remoteUri
Uri

The remote URI.

cancellationToken
CancellationToken

The cancellation token.

Returns

The local URI.

Remarks

The local file may not exist if it has not been downloaded. Use the DownloadFileAsync(Uri, IProgress<OperationProgressData>, CancellationToken) method to ensure the file has been downloaded.

Applies to