QuicConnectionOptions.KeepAliveInterval 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定連線上 PING 封包的間隔。
public:
property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan KeepAliveInterval { get; set; }
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan
屬性值
連線上 PING 幀傳送的間隔。 預設值為 InfiniteTimeSpan,表示 PING 幀永遠不會被傳送。
備註
值 表示 Zero 會使用底層實作的預設逾時。