Share via


Connection.Received Event

.NET Framework 4

Occurs when the Connection has received data from the server.

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

Syntax

'Declaration
Public Event Received As Action(Of String)
'Usage
Dim instance As Connection 
Dim handler As Action(Of String)

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

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace