MsmqTransportElement.MaxPoolSize Property

 

Gets or sets an integer that specifies the maximum size of the pool that contains internal MSMQ message objects.

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

[ConfigurationPropertyAttribute("maxPoolSize", DefaultValue = 8)]
[IntegerValidatorAttribute(MinValue = 0)]
public int MaxPoolSize { get; set; }

Property Value

Type: System.Int32

An integer that specifies the maximum size of the pool that contains internal MSMQ message objects.

The internal MSMQ message object pool is used to avoid allocations of these objects when sending and receiving messages. The maximum pool size is a performance tuning parameter. The default value is 8.

.NET Framework
Available since 3.0
Return to top
Show: