IFileSystemAuthorizationService.GetAccessAsync 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.
Dosya ve dizinlerin erişim düzeyini alın.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::RpcContracts::FileSystem::FileSystemAccessLevel> ^> ^ GetAccessAsync(System::Collections::Generic::IReadOnlyList<Uri ^> ^ uris, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.FileSystem.FileSystemAccessLevel>> GetAccessAsync (System.Collections.Generic.IReadOnlyList<Uri> uris, System.Threading.CancellationToken cancellationToken);
abstract member GetAccessAsync : System.Collections.Generic.IReadOnlyList<Uri> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.RpcContracts.FileSystem.FileSystemAccessLevel>>
Public Function GetAccessAsync (uris As IReadOnlyList(Of Uri), cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of FileSystemAccessLevel))
Parametreler
- uris
- IReadOnlyList<Uri>
Erişim düzeyini almak için dosya veya dizin URI 'Leri dizisi.
- cancellationToken
- CancellationToken
İptal belirteci.
Döndürülenler
Verilen dosya veya dizin URI 'Leri listesi için erişim düzeyleri koleksiyonu.
Özel durumlar
urisNull ise.
urisBoşsa veya null URI 'ler içeriyorsa.