Share via


ITransport.TransportConnected Property

.NET Framework 4

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

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

Syntax

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

value = instance.TransportConnected

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

Property Value

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

See Also

Reference

ITransport Interface

Microsoft.AspNet.SignalR.Transports Namespace