The operation is blocked until a currently running operation
completes and releases its Spanner session. If the operation is
synchronous, the thread will be blocked until it can complete.
If the operation is asynchronous, it will be completed on the
threadpool when resources become available.
Fail
The operation will fail with an exception with the ErrorCode set to ResourceExhausted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `ResourcesExhaustedBehavior` enum specifies how operations should behave when the maximum number of active sessions (`MaximumActiveSessions`) is reached."],["The latest version available is 5.0.0-beta05, and the page provides links to previous versions, going back to version 3.5.0, for the `Google.Cloud.Spanner.V1.ResourcesExhaustedBehavior` element."],["`Block` and `Fail` are the two options available in the `ResourcesExhaustedBehavior` enum."],["When set to `Block`, an operation will wait for a Spanner session to become available, while `Fail` will immediately throw an exception when resources are exhausted."],["The `ResourcesExhaustedBehavior` element is part of the Google.Cloud.Spanner.V1 namespace and its implementation can be found within the Google.Cloud.Spanner.V1.dll assembly."]]],[]]