Redigera

Dela via


WinHttpHandler.TcpKeepAliveTime Property

Definition

Gets or sets the TCP keep-alive timeout.

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

Property Value

Remarks

Only supported on Windows 10 version 2004 or newer. Has no effect if TcpKeepAliveEnabled is false. The default value of this property is 2 hours.

Applies to