IFileSystem.ConvertRemoteFileNameToRemoteUriAsync 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.
Overloads
ConvertRemoteFileNameToRemoteUriAsync(String, CancellationToken) |
Converts a remote filename to a remote Uri using the provider for the scheme returned by GetDefaultRemoteUriSchemeAsync(CancellationToken). |
ConvertRemoteFileNameToRemoteUriAsync(String, String, CancellationToken) |
Converts a remote filename to a remote Uri using the provider for
|
ConvertRemoteFileNameToRemoteUriAsync(String, CancellationToken)
Converts a remote filename to a remote Uri using the provider for the scheme returned by GetDefaultRemoteUriSchemeAsync(CancellationToken).
public:
System::Threading::Tasks::Task<Uri ^> ^ ConvertRemoteFileNameToRemoteUriAsync(System::String ^ fileName, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Uri> ConvertRemoteFileNameToRemoteUriAsync (string fileName, System.Threading.CancellationToken cancellationToken);
abstract member ConvertRemoteFileNameToRemoteUriAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Uri>
Public Function ConvertRemoteFileNameToRemoteUriAsync (fileName As String, cancellationToken As CancellationToken) As Task(Of Uri)
Parameters
- fileName
- String
The fully qualified name for the remote file.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The remote Uri.
Remarks
Introduced in version FileSystem.
Applies to
ConvertRemoteFileNameToRemoteUriAsync(String, String, CancellationToken)
Converts a remote filename to a remote Uri using the provider for
remoteScheme
.
public:
System::Threading::Tasks::Task<Uri ^> ^ ConvertRemoteFileNameToRemoteUriAsync(System::String ^ fileName, System::String ^ remoteScheme, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Uri> ConvertRemoteFileNameToRemoteUriAsync (string fileName, string remoteScheme, System.Threading.CancellationToken cancellationToken);
abstract member ConvertRemoteFileNameToRemoteUriAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Uri>
Public Function ConvertRemoteFileNameToRemoteUriAsync (fileName As String, remoteScheme As String, cancellationToken As CancellationToken) As Task(Of Uri)
Parameters
- fileName
- String
The fully qualified name for the remote file.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The remote Uri.
Remarks
Introduced in version FileSystem.