WinHttpHandler.ReceiveHeadersTimeout 属性

定义

获取或设置从服务器接收响应的标头的超时值。Gets or sets the timeout for receiving the headers of a response from the server.

public:
 property TimeSpan ReceiveHeadersTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan ReceiveHeadersTimeout { get; set; }
member this.ReceiveHeadersTimeout : TimeSpan with get, set
Public Property ReceiveHeadersTimeout As TimeSpan

属性值

TimeSpan

从服务器接收响应的标头的超时值。The timeout for receiving the headers of a response from the server.

注解

此属性的默认值为30秒。The default value for this property is 30 seconds.

适用于