Share via


ServerSentEventsTransport.ConnectionTimeout Property

.NET Framework 4

Time allowed before failing the connect request.

Namespace:  Microsoft.AspNet.SignalR.Client.Transports
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Property ConnectionTimeout As TimeSpan 
    Get 
    Set
'Usage
Dim instance As ServerSentEventsTransport 
Dim value As TimeSpan 

value = instance.ConnectionTimeout

instance.ConnectionTimeout = value
public TimeSpan ConnectionTimeout { get; set; }
public:
property TimeSpan ConnectionTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
member ConnectionTimeout : TimeSpan with get, set
function get ConnectionTimeout () : TimeSpan 
function set ConnectionTimeout (value : TimeSpan)

Property Value

Type: System.TimeSpan
Returns TimeSpan.

See Also

Reference

ServerSentEventsTransport Class

Microsoft.AspNet.SignalR.Client.Transports Namespace