ערוך

שתף באמצעות


HttpClientHandler.MaxRequestContentBufferSize Property

Definition

Gets or sets the maximum request content buffer size used by the handler.

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

Property Value

The maximum request content buffer size in bytes. The default value is 2 gigabytes.

Remarks

An app can set the MaxRequestContentBufferSize property to a lower value to limit the size of the request buffer. If the size of the request content is greater than the MaxRequestContentBufferSize property, an exception is thrown.

Applies to