Share via


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

public long MaxReceivedMessageSize { get; set; }
public:
property long long MaxReceivedMessageSize {
    long long get();
    void set(long long value);
}
member MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long

Property Value

Type: System.Int64

The maximum size of the received message. The default size is 65536 bytes.

See Also

HttpSelfHostConfiguration Class
System.Web.Http.SelfHost Namespace

Return to top