IRemoteFileSystemProvider.ConvertLocalUriToRemoteUriAsync 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 local URI to a remote URI using the provider's URI scheme.
public:
System::Threading::Tasks::Task<Uri ^> ^ ConvertLocalUriToRemoteUriAsync(Uri ^ localUri, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Uri> ConvertLocalUriToRemoteUriAsync (Uri localUri, System.Threading.CancellationToken cancellationToken);
abstract member ConvertLocalUriToRemoteUriAsync : Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Uri>
Public Function ConvertLocalUriToRemoteUriAsync (localUri As Uri, cancellationToken As CancellationToken) As Task(Of Uri)
Parameters
- localUri
- Uri
The local URI.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The remote URI.
Remarks
localUri
can be a Uri returned from DownloadFileAsync(Uri, IProgress<OperationProgressData>, CancellationToken) or from ConvertRemoteUriToLocalUriAsync(Uri, CancellationToken).