ServiceHostBase.IncrementManualFlowControlLimit Method (Int32)


Increases the limit on the flow rate of messages to the hosted service by a specified increment.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public int IncrementManualFlowControlLimit(
	int incrementBy


Type: System.Int32

The number of messages by which to increase the flow control limit.

Return Value

Type: System.Int32

The new limit after the increment is added.

Exception Condition

The value is less than zero.

This limit can be accessed using the ManualFlowControlLimit property.

int newLimit = hostDefault.IncrementManualFlowControlLimit(100);

.NET Framework
Available since 3.0
Return to top