BinaryMessageEncodingElement.MaxSessionSize Property

Definition

Gets or sets a value that specifies the size, in bytes, of the buffer used for encoding.

[System.Configuration.ConfigurationProperty("maxSessionSize", DefaultValue=2048)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxSessionSize { get; set; }

Property Value

The size, in bytes, of the buffer used for encoding. The default is 2048.

Attributes

Remarks

A larger buffer increases encoding speed at the expense of the size of the working set.

Applies to

Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1