Edytuj

Udostępnij za pośrednictwem


ReliableSessionBindingElement.FlowControlEnabled Property

Definition

Gets or sets a value that indicates whether the reliable session has flow control enabled.

public:
 property bool FlowControlEnabled { bool get(); void set(bool value); };
public bool FlowControlEnabled { get; set; }
member this.FlowControlEnabled : bool with get, set
Public Property FlowControlEnabled As Boolean

Property Value

true if the reliable session has flow control enabled; otherwise, false. The default is true.

Remarks

Flow control is a mechanism that reliable sessions implement to ensure that senders do not send more messages than a receiver can handle. Receivers have a buffer of messages that is used to accommodate message bursts and out-of-order messages. Receivers advertise to senders the amount of space that remains in this buffer in each of their acknowledgements. Senders can use this information to stop sending new messages whenever the receiver has no buffer space left.

Applies to