Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EntityBody Property

HttpListenerTimeoutsElement.EntityBody Property

.NET Framework 4.6 and 4.5

Gets the time, in seconds, allowed for the request entity body to arrive.

Namespace:  System.Net.Configuration
Assembly:  System (in System.dll)

[ConfigurationPropertyAttribute("entityBody", DefaultValue = , IsRequired = false)]
public TimeSpan EntityBody { get; }

Property Value

Type: System.TimeSpan
Returns TimeSpan.
The time, in seconds, allowed for the request entity body to arrive.

The HttpListener turns on this timer when the request has an entity body. The timer expiration is initially set to the configured value. When the HttpListener receives additional data indications on the request, it resets the timer to give the connection another interval.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft