語言

ConnectionOrientedTransportElement.ConnectionBufferSize 屬性

定義

接收或設定緩衝區大小,用於從用戶端或服務在線路上傳送序列化訊息的一部分。

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

屬性值

緩衝區的大小,是用來從用戶端或服務在線路上傳送序列化訊息的一部分。 預設值是 8K。

屬性

備註

此值可根據平均訊息大小與交換模式調整,以提供更好的吞吐量。

適用於