BinaryMessageEncodingElement.MaxWritePoolSize Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that specifies the maximum number of messages that can be sent simultaneously without allocating new writers.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("maxWritePoolSize", DefaultValue = 16)]
[IntegerValidatorAttribute(MinValue = 1)]
public int MaxWritePoolSize { get; set; }

Property Value

Type: System.Int32

The maximum number of messages that can be sent simultaneously without allocating new writers. The default is 16.

Larger pool sizes make the system more tolerant to activity spikes at the cost of a larger working set.

.NET Framework
Available since 3.0
Return to top
Show: