.net core ListTablesSegmentedAsync忽略延续令牌

.net core ListTablesSegmentedAsync忽略延续令牌,.net-core,azure-storage,azure-table-storage,.net Core,Azure Storage,Azure Table Storage,我正在尝试使用ListTablesSegmentedAsync,但它似乎没有使用continuable标记。我正在使用Microsoft.Azure.Cosmos.Table v1.0.8并尝试在存储模拟器上列出表。以下是我的简化测试代码: public async Task ListTablesTest( CloudTableClient client) { TableContinuationToken continuationToken = null; TableRe

我正在尝试使用ListTablesSegmentedAsync,但它似乎没有使用continuable标记。我正在使用Microsoft.Azure.Cosmos.Table v1.0.8并尝试在存储模拟器上列出表。以下是我的简化测试代码:

public async Task ListTablesTest(
    CloudTableClient client)
{
    TableContinuationToken continuationToken = null;
    TableResultSegment ret;
    
    ret = await client.ListTablesSegmentedAsync(
        string.Empty,
        5,
        continuationToken,
        CancellationToken.None);

    continuationToken = ret.ContinuationToken;

    ret = await client.ListTablesSegmentedAsync(
        string.Empty,
        5,
        continuationToken,
        CancellationToken.None);
}

对ListTablesSegmentedAsync的两个调用都返回前5个表(按字母顺序)。据我所知,第一次调用返回的令牌看起来是正确的。我错过什么了吗?可能这在emulator中不起作用?

请确保您使用的是最新版本的和

在我的测试中,我还使用了
Microsoft.Azure.Cosmos.Table v1.0.8
,它可以使用ContinuationToken列出接下来的5个表:


伊万,谢谢你的回复。我验证了我正在运行storage emulator 5.10版。我发布的测试代码仍然返回ListTablesSegmentedAsync两个调用中的前5个表。看起来你在运行我发布的代码?@ChrisInSeattle,是的,我只是使用你的代码。你能告诉我们调用
ListTablesTest
方法的主要方法吗?这可能是异步问题。您好,如果答案有帮助,您能接受它作为答案吗?谢谢