共用方式為


WebSocketTransportSettingsElement.KeepAliveInterval 屬性

定義

取得或設定存留時間間隔。

public:
 property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("keepAliveInterval", DefaultValue="00:00:00")]
public TimeSpan KeepAliveInterval { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("keepAliveInterval", DefaultValue="00:00:00")>]
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan

屬性值

TimeSpan

存留時間間隔。

屬性

適用於