Share via

Parallel Query execution in cosmos db

Karipe, Naresh 1 Reputation point
2021-09-17T14:29:51.72+00:00

Hi All,

Could you please help me with the below error.

I'm trying to execute cosmos db query using Task.New(); using SDK v3, even after successful executing document is not loading getting below error with null value.

Thank You
Naresh

133108-paralleltask.png

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


1 answer

Sort by: Most helpful
  1. P a u l 10,766 Reputation points
    2021-09-17T14:48:25.423+00:00

    According to this SO post that isn't an error, but more the side effect of attempting to evaluate properties when using the VS debugger that require interaction with another thread in order to yield their values:
    https://stackoverflow.com/questions/29985150/visual-studio-during-debugging-the-function-evaluation-requires-all-threads-to/52193497

    Do you encounter any exceptions when you're not debugging?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.