Редактиране

Споделяне чрез


ReliableSessionElement.MaxTransferWindowSize Property

Definition

Gets or sets the maximum size of the buffer.

public:
 property int MaxTransferWindowSize { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxTransferWindowSize", DefaultValue=8)]
[System.Configuration.IntegerValidator(MaxValue=4096, MinValue=1)]
public int MaxTransferWindowSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxTransferWindowSize", DefaultValue=8)>]
[<System.Configuration.IntegerValidator(MaxValue=4096, MinValue=1)>]
member this.MaxTransferWindowSize : int with get, set
Public Property MaxTransferWindowSize As Integer

Property Value

The maximum size of the buffer. Valid values are from 1 to 4096 inclusive.

Attributes

Remarks

On the client, this property defines the maximum size of the buffer used by a reliable channel to hold messages not yet acknowledged by the receiver. The unit of the quota is a message. If the buffer is full, further Send operations are blocked.

On the receiver, this property defines the maximum size of the buffer used by the channel to store incoming messages not yet dispatched to the application. If the buffer is full, further messages are silently dropped by the receiver and require retransmission by the client.

Applies to