VsShellUtilities.GetRemoteFileSystemProviderAsync 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
GetRemoteFileSystemProviderAsync(String, CancellationToken) |
Obsolete.
Returns the remote file system provider for |
GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken) |
Returns the remote file system provider for |
GetRemoteFileSystemProviderAsync(String, CancellationToken)
Caution
Use VsShellUtilities.GetRemoteFileSystemProviderAsync(string, IServiceBroker, CancellationToken) instead
Returns the remote file system provider for scheme
.
public:
static System::Threading::Tasks::Task<Microsoft::VisualStudio::RpcContracts::FileSystem::IRemoteFileSystemProvider ^> ^ GetRemoteFileSystemProviderAsync(System::String ^ scheme, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.IRemoteFileSystemProvider?> GetRemoteFileSystemProviderAsync (string scheme, System.Threading.CancellationToken cancellationToken);
[System.Obsolete("Use VsShellUtilities.GetRemoteFileSystemProviderAsync(string, IServiceBroker, CancellationToken) instead", true)]
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.IRemoteFileSystemProvider?> GetRemoteFileSystemProviderAsync (string scheme, System.Threading.CancellationToken cancellationToken);
static member GetRemoteFileSystemProviderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.IRemoteFileSystemProvider>
[<System.Obsolete("Use VsShellUtilities.GetRemoteFileSystemProviderAsync(string, IServiceBroker, CancellationToken) instead", true)>]
static member GetRemoteFileSystemProviderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.IRemoteFileSystemProvider>
Public Function GetRemoteFileSystemProviderAsync (scheme As String, cancellationToken As CancellationToken) As Task(Of IRemoteFileSystemProvider)
Parameters
- scheme
- String
The scheme of the remote file system provider.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The remote file system provider. It should be disposed when it is no longer needed.
- Attributes
Applies to
GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken)
Returns the remote file system provider for scheme
.
public:
static System::Threading::Tasks::Task<Microsoft::VisualStudio::RpcContracts::FileSystem::IRemoteFileSystemProvider ^> ^ GetRemoteFileSystemProviderAsync(System::String ^ scheme, Microsoft::ServiceHub::Framework::IServiceBroker ^ broker, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.IRemoteFileSystemProvider?> GetRemoteFileSystemProviderAsync (string scheme, Microsoft.ServiceHub.Framework.IServiceBroker broker, System.Threading.CancellationToken cancellationToken);
static member GetRemoteFileSystemProviderAsync : string * Microsoft.ServiceHub.Framework.IServiceBroker * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.IRemoteFileSystemProvider>
Public Function GetRemoteFileSystemProviderAsync (scheme As String, broker As IServiceBroker, cancellationToken As CancellationToken) As Task(Of IRemoteFileSystemProvider)
Parameters
- scheme
- String
The scheme of the remote file system provider.
- broker
- IServiceBroker
The service broker
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The remote file system provider. It should be disposed when it is no longer needed.