Επεξεργασία

Κοινή χρήση μέσω


HttpListenerTimeoutsElement.EntityBody Property

Definition

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

public:
 property TimeSpan EntityBody { TimeSpan get(); };
[System.Configuration.ConfigurationProperty("entityBody", DefaultValue=0, IsRequired=false)]
public TimeSpan EntityBody { get; }
[<System.Configuration.ConfigurationProperty("entityBody", DefaultValue=0, IsRequired=false)>]
member this.EntityBody : TimeSpan
Public ReadOnly Property EntityBody As TimeSpan

Property Value

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

Attributes

Remarks

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.

Applies to

See also