MsmqTransportBindingElement.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 Message Queuing (MSMQ) message objects.
public:
property int MaxPoolSize { int get(); void set(int value); };
public int MaxPoolSize { get; set; }
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 Message Queuing message objects.
Exceptions
The value is less than zero.
Examples
MsmqTransportBindingElement transportBindingElement = new MsmqTransportBindingElement();
transportBindingElement.MaxPoolSize = 5;
Remarks
The internal Message Queuing 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om