VsShellUtilities.GetRemoteFileSystemProviderAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GetRemoteFileSystemProviderAsync(String, CancellationToken) |
Obsoleti.
Restituisce il provider del file system remoto per |
GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken) |
Restituisce il provider del file system remoto per |
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.