Gets and sets the maximum allowable message size that can be received.
Public Overridable Property MaxReceivedMessageSize As Long
Dim instance As TransportBindingElement Dim value As Long value = instance.MaxReceivedMessageSize instance.MaxReceivedMessageSize = value
public virtual long MaxReceivedMessageSize { get; set; }
public: virtual property long long MaxReceivedMessageSize { long long get (); void set (long long value); }
public function get MaxReceivedMessageSize () : long public function set MaxReceivedMessageSize (value : long)
This property can counter a hacker scenario where a message is sent with a very large or infinite specified length, or where data is sent continuously to a connected Named Pipe.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC