Поделиться через


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

Токен отмены.

Возвращаемое значение

Поставщик удаленной файловой системы. Он должен быть удален, когда он больше не нужен.

Применяется к