編輯

共用方式為


MsmqTransportElement.MaxPoolSize Property

Definition

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.

Applies to