BinaryMessageEncodingElement.MaxSessionSize Egenskap

Definition

Hämtar eller anger ett värde som anger storleken, i byte, på bufferten som används för kodning.

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

Egenskapsvärde

Storleken, i byte, på bufferten som används för kodning. Standardvärdet är 2048.

Attribut

Kommentarer

En större buffert ökar kodningshastigheten på bekostnad av arbetsuppsättningens storlek.

Gäller för