VsShellUtilities.GetRemoteFileSystemProviderAsync Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| GetRemoteFileSystemProviderAsync(String, CancellationToken) |
Kedaluwarsa.
Mengembalikan penyedia sistem file jarak jauh untuk |
| GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken) |
Mengembalikan penyedia sistem file jarak jauh untuk |
GetRemoteFileSystemProviderAsync(String, CancellationToken)
Perhatian
Use VsShellUtilities.GetRemoteFileSystemProviderAsync(string, IServiceBroker, CancellationToken) instead
Mengembalikan penyedia sistem file jarak jauh untuk 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)
Parameter
- scheme
- String
Skema penyedia sistem file jarak jauh.
- cancellationToken
- CancellationToken
Token pembatalan.
Mengembalikan
Penyedia sistem file jarak jauh. Ini harus dibuang ketika tidak lagi diperlukan.
- Atribut
Berlaku untuk
GetRemoteFileSystemProviderAsync(String, IServiceBroker, CancellationToken)
Mengembalikan penyedia sistem file jarak jauh untuk 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)
Parameter
- scheme
- String
Skema penyedia sistem file jarak jauh.
- broker
- IServiceBroker
Broker layanan
- cancellationToken
- CancellationToken
Token pembatalan.
Mengembalikan
Penyedia sistem file jarak jauh. Ini harus dibuang ketika tidak lagi diperlukan.