StreamLink for Silverlight
ChatMessageReceived Method (subscription, ev)
StreamLink for SilverlightCaplin.StreamLink.Subscription.ChatIChatSubscriptionListenerChatMessageReceived(ISubscription, IChatEvent)
Called when a new chat message is received from the Liberator. The properties on ev that are populated with relevant data are User, Time and Message.
Declaration Syntax
C#Visual BasicVisual C++
void ChatMessageReceived(
	ISubscription subscription,
	IChatEvent ev
)
Sub ChatMessageReceived ( _
	subscription As ISubscription, _
	ev As IChatEvent _
)
void ChatMessageReceived(
	ISubscription^ subscription, 
	IChatEvent^ ev
)
Parameters
subscription (ISubscription)
The subscription.
ev (IChatEvent)
The event. This contains the updated data.
Remarks

Note: StreamLink queues events in the order they were raised and passes each event in turn to an appropriate callback method of the relevant listener. All listener callbacks execute in the same dedicated worker thread, so while this callback method is running no other callbacks will be invoked.

Assembly: Caplin.StreamLink.Silverlight (Module: Caplin.StreamLink.Silverlight) Version: 5.0.19.0 (5.0.19.0)