HttpBinding.MaxReceivedMessageSize Property

Gets or sets the maximum size for a message that can be processed by the binding.

Namespace:  System.Web.Http.SelfHost.Channels
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Property MaxReceivedMessageSize As Long
    Get
    Set
'Usage
Dim instance As HttpBinding
Dim value As Long

value = instance.MaxReceivedMessageSize

instance.MaxReceivedMessageSize = value
public long MaxReceivedMessageSize { get; set; }
public:
property long long MaxReceivedMessageSize {
    long long get ();
    void set (long long value);
}
member MaxReceivedMessageSize : int64 with get, set
function get MaxReceivedMessageSize () : long
function set MaxReceivedMessageSize (value : long)

Property Value

Type: System.Int64
The maximum size, in bytes, for a message that is processed by the binding.

See Also

Reference

HttpBinding Class

System.Web.Http.SelfHost.Channels Namespace