Bearbeiten

Freigeben über


UdpTransportSettingsElement.MaxReceivedMessageSize Property

Definition

Gets or sets the value of the MaxReceivedMessageSize property in a UDP transport configuration element.

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

Property Value

The maximum size, in bytes, for a message that can be processed by the binding.

Attributes

Applies to