Condividi tramite


VsShellUtilities.GetRemoteFileSystemProviderAsync Metodo

Definizione

Overload

GetRemoteFileSystemProviderAsync(String, CancellationToken)
Obsoleti.

Restituisce il provider del file system remoto per scheme.

GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken)

Restituisce il provider del file system remoto per scheme.

GetRemoteFileSystemProviderAsync(String, CancellationToken)

Attenzione

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

Restituisce il provider del file system remoto per 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)

Parametri

scheme
String

Schema del provider del file system remoto.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Provider del file system remoto. Deve essere eliminato quando non è più necessario.

Attributi

Si applica a

GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken)

Restituisce il provider del file system remoto per 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)

Parametri

scheme
String

Schema del provider del file system remoto.

broker
IServiceBroker

Service Broker

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Provider del file system remoto. Deve essere eliminato quando non è più necessario.

Si applica a