HttpClientHandler.MaxRequestContentBufferSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.