ServiceHostBase.IncrementManualFlowControlLimit(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.