BinaryMessageEncodingElement.MaxSessionSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies the size, in bytes, of the buffer used for encoding.
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
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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.