UdpTransportSettingsElement.MaxReceivedMessageSize Egenskap
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar eller anger värdet för MaxReceivedMessageSize egenskapen i ett UDP-transportkonfigurationselement.
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
Egenskapsvärde
Den maximala storleken, i byte, för ett meddelande som kan bearbetas av bindningen.
- Attribut