IWebSocket.OnMessage Property

.NET Framework 4.5

Invoked when data is sent over the websocket

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

Syntax

'Declaration
Property OnMessage As Action(Of String)
    Get 
    Set
'Usage
Dim instance As IWebSocket 
Dim value As Action(Of String)

value = instance.OnMessage

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

Property Value

Type: System.Action<String>

See Also

Reference

IWebSocket Interface

Microsoft.AspNet.SignalR.Hosting Namespace