ReliableSessionElement.MaxTransferWindowSize 属性

定义

获取或设置缓冲区的最大大小。Gets or sets the maximum size of the buffer.

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

属性值

Int32

缓冲区的最大大小。The maximum size of the buffer. 有效值介于 1 和 4096 之间(包括这两个值)。Valid values are from 1 to 4096 inclusive.

属性

注解

在客户端上,该属性能够定义可靠通道在保存接收者尚未确认的消息时所使用的缓冲区的最大大小。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.

适用于