Conflicts.GetConflictQueryIterator メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetConflictQueryIterator<T>(QueryDefinition, String, QueryRequestOptions) |
Azure Cosmos コンテナーで を通過 ConflictProperties する反復子を取得します。 |
GetConflictQueryIterator<T>(String, String, QueryRequestOptions) |
Azure Cosmos コンテナーで を通過 ConflictProperties する反復子を取得します。 |
GetConflictQueryIterator<T>(QueryDefinition, String, QueryRequestOptions)
- ソース:
- Conflicts.cs
Azure Cosmos コンテナーで を通過 ConflictProperties する反復子を取得します。
public abstract Microsoft.Azure.Cosmos.FeedIterator<T> GetConflictQueryIterator<T> (Microsoft.Azure.Cosmos.QueryDefinition queryDefinition, string continuationToken = default, Microsoft.Azure.Cosmos.QueryRequestOptions requestOptions = default);
abstract member GetConflictQueryIterator : Microsoft.Azure.Cosmos.QueryDefinition * string * Microsoft.Azure.Cosmos.QueryRequestOptions -> Microsoft.Azure.Cosmos.FeedIterator<'T>
Public MustOverride Function GetConflictQueryIterator(Of T) (queryDefinition As QueryDefinition, Optional continuationToken As String = Nothing, Optional requestOptions As QueryRequestOptions = Nothing) As FeedIterator(Of T)
型パラメーター
- T
パラメーター
- queryDefinition
- QueryDefinition
Cosmos SQL クエリ定義。
- continuationToken
- String
(省略可能)Azure Cosmos DB サービスの継続トークン。
- requestOptions
- QueryRequestOptions
(省略可能)項目クエリ要求のオプション QueryRequestOptions
戻り値
競合を通過する反復子。
例
using (FeedIterator<ConflictProperties> feedIterator = conflicts.GetConflictQueryIterator())
{
while (feedIterator.HasMoreResults)
{
FeedResponse<ConflictProperties> response = await feedIterator.ReadNextAsync();
foreach (var conflict in response)
{
Console.WriteLine(conflict);
}
}
}
適用対象
GetConflictQueryIterator<T>(String, String, QueryRequestOptions)
- ソース:
- Conflicts.cs
Azure Cosmos コンテナーで を通過 ConflictProperties する反復子を取得します。
public abstract Microsoft.Azure.Cosmos.FeedIterator<T> GetConflictQueryIterator<T> (string queryText = default, string continuationToken = default, Microsoft.Azure.Cosmos.QueryRequestOptions requestOptions = default);
abstract member GetConflictQueryIterator : string * string * Microsoft.Azure.Cosmos.QueryRequestOptions -> Microsoft.Azure.Cosmos.FeedIterator<'T>
Public MustOverride Function GetConflictQueryIterator(Of T) (Optional queryText As String = Nothing, Optional continuationToken As String = Nothing, Optional requestOptions As QueryRequestOptions = Nothing) As FeedIterator(Of T)
型パラメーター
- T
パラメーター
- queryText
- String
Cosmos SQL クエリ テキスト。
- continuationToken
- String
(省略可能)Azure Cosmos DB サービスの継続トークン。
- requestOptions
- QueryRequestOptions
(省略可能)項目クエリ要求のオプション。
戻り値
競合を通過する反復子。
例
using (FeedIterator<ConflictProperties> conflictIterator = conflicts.GetConflictQueryIterator())
{
while (feedIterator.HasMoreResults)
{
FeedResponse<ConflictProperties> response = await feedIterator.ReadNextAsync();
foreach (var conflict in response)
{
Console.WriteLine(conflict);
}
}
}
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET