AwaitQueryOptionsWithMaxConcurrency Method |
Returns new options with the given concurrency limit.
Namespace:
MoreLinq.Experimental
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.1.0+ce7250fcae16725db4e3607598b1d4d8cb19957f
Syntax public AwaitQueryOptions WithMaxConcurrency(
Nullable<int> value
)
Public Function WithMaxConcurrency (
value As Nullable(Of Integer)
) As AwaitQueryOptions
public:
AwaitQueryOptions^ WithMaxConcurrency(
Nullable<int> value
)
member WithMaxConcurrency :
value : Nullable<int> -> AwaitQueryOptions
Parameters
- value
- Type: SystemNullableInt32
The maximum concurrent asynchronous operation to keep in flight.
Use null to mean unbounded concurrency.
Return Value
Type:
AwaitQueryOptionsOptions with the new setting.
See Also