IRemoteFileSystemProvider.ConvertRemoteUriToLocalUriAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.