Partager via


ITransport.Reconnected Property

.NET Framework 4

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

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

Syntax

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

value = instance.Reconnected

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

Property Value

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

See Also

Reference

ITransport Interface

Microsoft.AspNet.SignalR.Transports Namespace