IFileSystemAuthorizationService.GetLocalAccessAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Yerel dosya ve dizinlerin erişim düzeyini alın.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::RpcContracts::FileSystem::FileSystemAccessLevel> ^> ^ GetLocalAccessAsync(System::Collections::Generic::IReadOnlyList<System::String ^> ^ localPaths, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.FileSystem.FileSystemAccessLevel>> GetLocalAccessAsync (System.Collections.Generic.IReadOnlyList<string> localPaths, System.Threading.CancellationToken cancellationToken);
abstract member GetLocalAccessAsync : System.Collections.Generic.IReadOnlyList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.FileSystem.FileSystemAccessLevel>>
Public Function GetLocalAccessAsync (localPaths As IReadOnlyList(Of String), cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of FileSystemAccessLevel))
Parametreler
- localPaths
- IReadOnlyList<String>
İçin erişim düzeyini almak üzere yerel mutlak yollar dizisi.
- cancellationToken
- CancellationToken
İptal belirteci.
Döndürülenler
Verilen yerel yollar listesi için erişim düzeyleri koleksiyonu.
Özel durumlar
localPathsNull ise.
localPathsBoşsa veya null ya da geçersiz yollar içeriyorsa.