Share via


IConfigurationManager.KeepAlive Property

.NET Framework 4

Gets or sets a TimeSpan representing the amount of time between send keep alive messages. If enabled, this value must be at least two seconds. Set to null to disable.

Namespace:  Microsoft.AspNet.SignalR.Configuration
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Property KeepAlive As Nullable(Of TimeSpan)
    Get 
    Set
'Usage
Dim instance As IConfigurationManager 
Dim value As Nullable(Of TimeSpan)

value = instance.KeepAlive

instance.KeepAlive = value
Nullable<TimeSpan> KeepAlive { get; set; }
property Nullable<TimeSpan> KeepAlive {
    Nullable<TimeSpan> get ();
    void set (Nullable<TimeSpan> value);
}
abstract KeepAlive : Nullable<TimeSpan> with get, set
function get KeepAlive () : Nullable<TimeSpan>
function set KeepAlive (value : Nullable<TimeSpan>)

Property Value

Type: System.Nullable<TimeSpan>

See Also

Reference

IConfigurationManager Interface

Microsoft.AspNet.SignalR.Configuration Namespace