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

保持活动状态的间隔。

属性

适用于