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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.