小编Gau*_*hik的帖子

如何使用 ListBlobsSegmentedAsync 从 Azure BLOB 中的目录中获取所有文件

在尝试访问 Azure blob 文件夹的所有文件时,获取示例代码container.ListBlobs();但它看起来像旧的。

旧代码: container.ListBlobs();

新代码尝试: container.ListBlobsSegmentedAsync(continuationToken);

我正在尝试使用以下代码:

container.ListBlobsSegmentedAsync(continuationToken);
Run Code Online (Sandbox Code Playgroud)

文件夹是这样的:

Container/F1/file.json
Container/F1/F2/file.json
Container/F2/file.json
Run Code Online (Sandbox Code Playgroud)

寻找更新版本以从 Azure 文件夹中获取所有文件。任何示例代码都会有所帮助,谢谢!

c# containers blob azure azure-blob-storage

3
推荐指数
3
解决办法
2万
查看次数

标签 统计

azure ×1

azure-blob-storage ×1

blob ×1

c# ×1

containers ×1