IRemoteFileMetadataManager.GetAllFileMetadataAsync(CancellationToken) 方法

定義

取得所有檔案中繼資料。Gets all file metadata.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^> ^> ^ GetAllFileMetadataAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyDictionary<string,string>>> GetAllFileMetadataAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetAllFileMetadataAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IReadOnlyDictionary<string, string>>>
Public Function GetAllFileMetadataAsync (cancellationToken As CancellationToken) As Task(Of IReadOnlyDictionary(Of String, IReadOnlyDictionary(Of String, String)))

參數

cancellationToken
CancellationToken

取消的 Token。Token of cancelling.

傳回

Task<IReadOnlyDictionary<String,IReadOnlyDictionary<String,String>>>

Task 其結果為 (可能是空) 檔案中繼資料的集合。A Task whose result is a (possibly empty) collection of file metadata.

備註

這種方法的執行應該是無限制執行緒,也就是這個方法的呼叫端應該能夠從任何執行緒呼叫它。Implementations of this method should be free-threaded, i.e. callers of this method should be able to call it from any thread.

適用於