Share via


Connection.Closed Event

.NET Framework 4

Occurs when the Connection is stopped.

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

Syntax

'Declaration
Public Event Closed As Action
'Usage
Dim instance As Connection 
Dim handler As Action 

AddHandler instance.Closed, handler
public event Action Closed
public:
 event Action^ Closed {
    void add (Action^ value);
    void remove (Action^ value);
}
member Closed : IEvent<Action,
    EventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace