MsmqTransportElement.MaxPoolSize Propriedade

Definição

Obtém ou define um número inteiro que especifica o tamanho máximo do pool que contém objetos de mensagem MSMQ internos.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=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxPoolSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxPoolSize", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxPoolSize : int with get, set
Public Property MaxPoolSize As Integer

Valor da propriedade

Int32

Um inteiro que especifica o tamanho máximo do pool que contém objetos de mensagem MSMQ internos.An integer that specifies the maximum size of the pool that contains internal MSMQ message objects.

Atributos

Comentários

O pool de objetos de mensagem MSMQ interno é usado para evitar alocações desses objetos ao enviar e receber mensagens.The internal MSMQ message object pool is used to avoid allocations of these objects when sending and receiving messages. O tamanho máximo do pool é um parâmetro de ajuste de desempenho.The maximum pool size is a performance tuning parameter. O valor padrão é 8.The default value is 8.

Aplica-se a