VsShellUtilities.GetRemoteFileSystemProviderAsync 方法

定义

重载

GetRemoteFileSystemProviderAsync(String, CancellationToken)
已过时.

返回 的 scheme远程文件系统提供程序。

GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken)

返回 的 scheme远程文件系统提供程序。

GetRemoteFileSystemProviderAsync(String, CancellationToken)

注意

Use VsShellUtilities.GetRemoteFileSystemProviderAsync(string, IServiceBroker, CancellationToken) instead

返回 的 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)

参数

scheme
String

远程文件系统提供程序的方案。

cancellationToken
CancellationToken

取消标记。

返回

远程文件系统提供程序。 当不再需要它时,应将其释放。

属性

适用于

GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken)

返回 的 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)

参数

scheme
String

远程文件系统提供程序的方案。

broker
IServiceBroker

Service Broker

cancellationToken
CancellationToken

取消标记。

返回

远程文件系统提供程序。 当不再需要它时,应将其释放。

适用于