NetTcpBindingElement.MaxBufferSize Propriedade

Definição

Obtém ou define um valor que especifica o tamanho máximo, em bytes, do buffer usado para armazenar mensagens na memória.

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

Valor de Propriedade

O tamanho máximo, em bytes, do buffer usado para armazenar mensagens na memória. O padrão é 65536.

Atributos

Observações

Se o buffer estiver cheio, os dados em excesso permanecem no socket subjacente até que o buffer tenha espaço novamente.

Este valor não pode ser inferior a MaxReceivedMessageSize, cujo valor padrão é também 65.536 (64 KB).

Aplica-se a