MsmqTransportElement.MaxPoolSize 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 an integer that specifies the maximum size of the pool that contains internal MSMQ message objects.
public:
property int MaxPoolSize { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxPoolSize", DefaultValue=8)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxPoolSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxPoolSize", DefaultValue=8)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxPoolSize : int with get, set
Public Property MaxPoolSize As Integer
Property Value
An integer that specifies the maximum size of the pool that contains internal MSMQ message objects.
- Attributes
Remarks
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.