HttpListenerTimeoutsElement::EntityBody Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public:
[ConfigurationPropertyAttribute("entityBody", DefaultValue = 0, 
	IsRequired = false)]
property TimeSpan EntityBody {
	TimeSpan 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
Available since 4.5
Return to top
Show: