Compartir a través de


NetPeerTcpBindingElement.MaxReceivedMessageSize Propiedad

Definición

Obtiene o establece el tamaño máximo, en bytes, para los mensajes recibidos por enlaces TCP del mismo nivel configurados con este elemento.

public:
 property long MaxReceivedMessageSize { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)]
[System.Configuration.LongValidator(MinValue=16384)]
public long MaxReceivedMessageSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)>]
[<System.Configuration.LongValidator(MinValue=16384)>]
member this.MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long

Valor de propiedad

Int64

Int32 que especifica el tamaño máximo de los mensajes recibidos por enlaces TCP del mismo nivel configurados con este elemento.

Atributos

Comentarios

El tamaño máximo predeterminado del mensaje es 65.536 bytes.

Se aplica a