編輯

共用方式為


WinHttpHandler.TcpKeepAliveInterval Property

Definition

Gets or sets the TCP keep-alive interval.

public:
 property TimeSpan TcpKeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan TcpKeepAliveInterval { get; set; }
member this.TcpKeepAliveInterval : TimeSpan with get, set
Public Property TcpKeepAliveInterval 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 1 second.

Applies to