HttpListenerTimeoutManager.RequestQueue 属性

定义

获取或设置在 HttpListener 选取请求前允许请求在请求队列中停留的时间。

public:
 property TimeSpan RequestQueue { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan RequestQueue { get; [System.Runtime.Versioning.SupportedOSPlatform("windows")] set; }
public TimeSpan RequestQueue { get; set; }
[<set: System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.RequestQueue : TimeSpan with get, set
member this.RequestQueue : TimeSpan with get, set
Public Property RequestQueue As TimeSpan

属性值

TimeSpan

请求在选取请求之前 HttpListener 允许在请求队列中保留的时间。

属性

注解

此属性的默认值为 2 分钟。

适用于