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 latest version of the `ResourcesExhaustedBehavior` documentation is 5.0.0-beta05, with several prior versions available, including stable releases like 4.6.0 and 4.5.0 and earlier versions going back to 3.5.0."],["`ResourcesExhaustedBehavior` is an enum within the Google Cloud Spanner v1 API, specifically under the `Google.Cloud.Spanner.V1` namespace, residing in the `Google.Cloud.Spanner.V1.dll` assembly."],["This enum defines the behavior when the `MaximumActiveSessions` limit is reached, providing two options: `Block`, where the operation waits for a session to become available, or `Fail`, where the operation immediately throws a `ResourceExhausted` exception."],["The `Block` option will block a synchronous operation until a Spanner session becomes free, while asynchronous operations will complete on the thread pool when a session is available."]]],[]]