The precise meaning of the settings in this class
is context-sensitive. For example, when used by a library which creates multiple
streams of data, the flow control settings may restrict flow on a per-stream basis,
or on an aggregate basis. Please consult the documentation of the library that consumes
these settings for more details on how they're used in that context.
Constructors
FlowControlSettings(long?, long?)
public FlowControlSettings(long? maxOutstandingElementCount, long? maxOutstandingByteCount)
Creates a new instance with the specified settings.
[[["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-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eFlowControlSettings\u003c/code\u003e is a class used to manage data flow restrictions within the Google.Api.Gax namespace, found in the Google.Api.Gax.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for controlling flow by setting limits on the maximum number of outstanding elements or bytes, both of which can be set to \u003ccode\u003enull\u003c/code\u003e to indicate no limit.\u003c/p\u003e\n"],["\u003cp\u003eThe specific interpretation of these settings, such as whether they apply per-stream or in aggregate, is determined by the library that utilizes \u003ccode\u003eFlowControlSettings\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eFlowControlSettings\u003c/code\u003e class is 4.10.0, with several earlier versions also available, including 4.8.0, 4.4.0, 4.3.1, 4.2.0, 4.0.0, and 3.2.0.\u003c/p\u003e\n"]]],[],null,["# Class FlowControlSettings (4.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.10.0 (latest)](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.FlowControlSettings)\n- [4.8.0](/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax.FlowControlSettings)\n- [4.4.0](/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax.FlowControlSettings)\n- [4.3.1](/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax.FlowControlSettings)\n- [4.2.0](/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax.FlowControlSettings)\n- [4.0.0](/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax.FlowControlSettings)\n- [3.2.0](/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax.FlowControlSettings) \n\n public sealed class FlowControlSettings\n\nSettings used to control data flow. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FlowControlSettings \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Api.Gax](/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax)\n\nAssembly\n--------\n\nGoogle.Api.Gax.dll\n\nRemarks\n-------\n\nThe precise meaning of the settings in this class\nis context-sensitive. For example, when used by a library which creates multiple\nstreams of data, the flow control settings may restrict flow on a per-stream basis,\nor on an aggregate basis. Please consult the documentation of the library that consumes\nthese settings for more details on how they're used in that context.\n\nConstructors\n------------\n\n### FlowControlSettings(long?, long?)\n\n public FlowControlSettings(long? maxOutstandingElementCount, long? maxOutstandingByteCount)\n\nCreates a new instance with the specified settings.\n\nProperties\n----------\n\n### MaxOutstandingByteCount\n\n public long? MaxOutstandingByteCount { get; }\n\nThe maximum number of bytes that can be outstanding before data flow is restricted, or\nnull if there is no specified limit.\n\n### MaxOutstandingElementCount\n\n public long? MaxOutstandingElementCount { get; }\n\nThe maximum number of elements that can be outstanding before data flow is restricted, or\nnull if there is no specified limit."]]