MsmqBindingElementBase.MaxReceivedMessageSize Propiedad

Definición

Obtiene o establece un valor que indica el tamaño máximo permitido, en bytes, de un mensaje.

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

Valor de propiedad

El tamaño máximo permitido para un mensaje que se envía o recibe con este enlace.

Atributos

Comentarios

Si un mensaje entrante es mayor que MaxReceivedMessageSize, se eliminará el mensaje.

Se aplica a