This documentation is archived and is not being maintained.

TextMessageEncodingElement.MaxWritePoolSize Property

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 = )]
[IntegerValidatorAttribute(MinValue = )]
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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: