次の方法で共有


CosmosConflicts.GetConflictsStreamAsync メソッド

定義

オーバーロード

GetConflictsStreamAsync(QueryDefinition, String, QueryRequestOptions, CancellationToken)

コンテナーのすべての競合を元の ResponseMessage として通過する反復子を取得します

GetConflictsStreamAsync(String, String, QueryRequestOptions, CancellationToken)

コンテナーのすべての競合を元の ResponseMessage として通過する反復子を取得します

GetConflictsStreamAsync(QueryDefinition, String, QueryRequestOptions, CancellationToken)

コンテナーのすべての競合を元の ResponseMessage として通過する反復子を取得します

public abstract System.Collections.Generic.IAsyncEnumerable<Azure.Response> GetConflictsStreamAsync (Azure.Cosmos.QueryDefinition queryDefinition, string continuationToken = default, Azure.Cosmos.QueryRequestOptions requestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConflictsStreamAsync : Azure.Cosmos.QueryDefinition * string * Azure.Cosmos.QueryRequestOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Azure.Response>
Public MustOverride Function GetConflictsStreamAsync (queryDefinition As QueryDefinition, Optional continuationToken As String = Nothing, Optional requestOptions As QueryRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of Response)

パラメーター

queryDefinition
QueryDefinition

cosmos SQL クエリ定義。

continuationToken
String

(省略可能)Azure Cosmos DB サービスの継続トークン。

requestOptions
QueryRequestOptions

(省略可能)項目クエリ要求のオプション QueryRequestOptions

cancellationToken
CancellationToken

(省略可能) CancellationToken 要求の取り消しを表します。

戻り値

競合を通過する反復子。

await foreach(Response response in conflicts.GetConflictsStreamAsync())
{
}

適用対象

GetConflictsStreamAsync(String, String, QueryRequestOptions, CancellationToken)

コンテナーのすべての競合を元の ResponseMessage として通過する反復子を取得します

public abstract System.Collections.Generic.IAsyncEnumerable<Azure.Response> GetConflictsStreamAsync (string queryText = default, string continuationToken = default, Azure.Cosmos.QueryRequestOptions requestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConflictsStreamAsync : string * string * Azure.Cosmos.QueryRequestOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Azure.Response>
Public MustOverride Function GetConflictsStreamAsync (Optional queryText As String = Nothing, Optional continuationToken As String = Nothing, Optional requestOptions As QueryRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of Response)

パラメーター

queryText
String

cosmos SQL クエリ テキスト。

continuationToken
String

(省略可能)Azure Cosmos DB サービスの継続トークン。

requestOptions
QueryRequestOptions

(省略可能)項目クエリ要求のオプション QueryRequestOptions

cancellationToken
CancellationToken

(省略可能) CancellationToken 要求の取り消しを表します。

戻り値

競合を通過する反復子。

await foreach (Response response in conflicts.GetConflictsStreamAsync())
{
}

適用対象