<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [4.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.FlowControlSettings.md.txt)
- [4.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.8.0/Google.Api.Gax.FlowControlSettings.md.txt)
- [4.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.4.0/Google.Api.Gax.FlowControlSettings.md.txt)
- [4.3.1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.3.1/Google.Api.Gax.FlowControlSettings.md.txt)
- [4.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.2.0/Google.Api.Gax.FlowControlSettings.md.txt)
- [4.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/4.0.0/Google.Api.Gax.FlowControlSettings.md.txt)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/3.2.0/Google.Api.Gax.FlowControlSettings.md.txt)

    public sealed class FlowControlSettings

Settings used to control data flow.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FlowControlSettings

## Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Api.Gax](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.md.txt)

## Assembly

Google.Api.Gax.dll

## Remarks

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `maxOutstandingElementCount` | `long` The maximum number of elements that can be outstanding before data flow is restricted, or null if there is no specified limit. |
| `maxOutstandingByteCount` | `long` The maximum number of bytes that can be outstanding before data flow is restricted, or null if there is no specified limit. |

## Properties

### MaxOutstandingByteCount

    public long? MaxOutstandingByteCount { get; }

The maximum number of bytes that can be outstanding before data flow is restricted, or
null if there is no specified limit.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### MaxOutstandingElementCount

    public long? MaxOutstandingElementCount { get; }

The maximum number of elements that can be outstanding before data flow is restricted, or
null if there is no specified limit.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |