EventSourceStreamReader.Message Property
.NET Framework 4
Gets or sets the action to invoke when there is a message to be received in the stream.
Namespace: Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Property Message As Action(Of SseEvent)
Get
Set
'Usage
Dim instance As EventSourceStreamReader
Dim value As Action(Of SseEvent)
value = instance.Message
instance.Message = value
public Action<SseEvent> Message { get; set; }
public:
property Action<SseEvent^>^ Message {
Action<SseEvent^>^ get ();
void set (Action<SseEvent^>^ value);
}
member Message : Action<SseEvent> with get, set
function get Message () : Action<SseEvent>
function set Message (value : Action<SseEvent>)
Property Value
Type: System.Action<SseEvent>
The action to invoke when there is a message to be received in the stream.
See Also
Reference
Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents Namespace