ServiceHostBase.IncrementManualFlowControlLimit(Int32) Method

Definition

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

public:
 int IncrementManualFlowControlLimit(int incrementBy);
public int IncrementManualFlowControlLimit (int incrementBy);
member this.IncrementManualFlowControlLimit : int -> int
Public Function IncrementManualFlowControlLimit (incrementBy As Integer) As Integer

Parameters

incrementBy
Int32

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

Returns

Int32

The new limit after the increment is added.

Exceptions

The value is less than zero.

Examples

int newLimit = hostDefault.IncrementManualFlowControlLimit(100);

Remarks

This limit can be accessed using the ManualFlowControlLimit property.

Applies to