Freigeben über


HttpSelfHostConfiguration.MaxReceivedMessageSize Property

Gets or sets the maximum size of the received message.

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

Syntax

'Declaration
Public Property MaxReceivedMessageSize As Long
    Get
    Set
'Usage
Dim instance As HttpSelfHostConfiguration
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 of the received message.

See Also

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace