Edit

Share via


MtomMessageEncodingElement.MaxReadPoolSize Property

Definition

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

public:
 property int MaxReadPoolSize { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxReadPoolSize", DefaultValue=64)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxReadPoolSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxReadPoolSize", DefaultValue=64)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxReadPoolSize : int with get, set
Public Property MaxReadPoolSize As Integer

Property Value

The maximum number of messages that can be read simultaneously without allocating new readers. The default is 64.

Attributes

Remarks

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

Applies to