BasicHttpBindingElement.MaxReceivedMessageSize Propiedad

Definición

Obtiene o establece el tamaño máximo, en bytes, de un mensaje que se puede recibir.

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

Valor de propiedad

Tamaño máximo, en bytes, de un mensaje que el enlace puede recibir. El valor predeterminado es 65.536 bytes.

Atributos

Comentarios

Este límite define el tamaño máximo del mensaje, en bytes, incluidos los encabezados. El remitente de un mensaje demasiado grande para el receptor recibe un error soap. El receptor quita el mensaje y crea una entrada del evento en el registro de seguimiento.

Se aplica a