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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eResourcesExhaustedBehavior\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, specifically detailing how operations behave when the \u003ccode\u003eMaximumActiveSessions\u003c/code\u003e limit is reached.\u003c/p\u003e\n"],["\u003cp\u003eThis enum, found in the \u003ccode\u003eGoogle.Cloud.Spanner.V1.dll\u003c/code\u003e assembly, has two defined fields: \u003ccode\u003eBlock\u003c/code\u003e, which causes the operation to wait, and \u003ccode\u003eFail\u003c/code\u003e, which results in an exception.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e API, ranging from the latest beta version \u003ccode\u003e5.0.0-beta05\u003c/code\u003e down to version \u003ccode\u003e3.5.0\u003c/code\u003e, with version \u003ccode\u003e3.15.1\u003c/code\u003e being the latest stable version.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation specifies that when using the \u003ccode\u003eBlock\u003c/code\u003e field, synchronous operations are blocked until resources are freed up, while asynchronous operations will be completed when resources are available.\u003c/p\u003e\n"]]],[],null,[]]