Connection.Error Event
.NET Framework 4
Occurs when the Connection has encountered an error.
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Event Error As Action(Of Exception)
'Usage
Dim instance As Connection
Dim handler As Action(Of Exception)
AddHandler instance.Error, handler
public event Action<Exception> Error
public:
event Action<Exception^>^ Error {
void add (Action<Exception^>^ value);
void remove (Action<Exception^>^ value);
}
member Error : IEvent<Action<Exception>,
EventArgs>
JScript supports the use of events, but not the declaration of new ones.