Share via


ITransport.Connected Property

.NET Framework 4

Gets or sets a callback that is invoked when the initial connection connects to the transport.

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

Syntax

'Declaration
Property Connected As Func(Of Task)
    Get 
    Set
'Usage
Dim instance As ITransport 
Dim value As Func(Of Task)

value = instance.Connected

instance.Connected = value
Func<Task> Connected { get; set; }
property Func<Task^>^ Connected {
    Func<Task^>^ get ();
    void set (Func<Task^>^ value);
}
abstract Connected : Func<Task> with get, set
function get Connected () : Func<Task>
function set Connected (value : Func<Task>)

Property Value

Type: System.Func<Task>
Returns Func<TResult>.

See Also

Reference

ITransport Interface

Microsoft.AspNet.SignalR.Transports Namespace