Partager via


IFileSystem.ConvertRemoteUriToLocalUriAsync(Uri, CancellationToken) 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

If the provider does not support IRemoteFileSystemProvider, remoteUri is returned.

Introduced in version FileSystem.

Applies to