Share via


IWebSocket.OnError Property

.NET Framework 4

Invoked when there is an error

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

Syntax

'Declaration
Property OnError As Action(Of Exception)
    Get 
    Set
'Usage
Dim instance As IWebSocket 
Dim value As Action(Of Exception)

value = instance.OnError

instance.OnError = value
Action<Exception> OnError { get; set; }
property Action<Exception^>^ OnError {
    Action<Exception^>^ get ();
    void set (Action<Exception^>^ value);
}
abstract OnError : Action<Exception> with get, set
function get OnError () : Action<Exception>
function set OnError (value : Action<Exception>)

Property Value

Type: System.Action<Exception>

See Also

Reference

IWebSocket Interface

Microsoft.AspNet.SignalR.Hosting Namespace