StreamLink for Silverlight
NewsUpdated Method (subscription, ev)
StreamLink for SilverlightCaplin.StreamLink.Subscription.NewsINewsSubscriptionListenerNewsUpdated(ISubscription, INewsEvent)
Called when a new news headline is received from the Liberator.
Declaration Syntax
C#Visual BasicVisual C++
void NewsUpdated(
	ISubscription subscription,
	INewsEvent ev
)
Sub NewsUpdated ( _
	subscription As ISubscription, _
	ev As INewsEvent _
)
void NewsUpdated(
	ISubscription^ subscription, 
	INewsEvent^ ev
)
Parameters
subscription (ISubscription)
The subscription.
ev (INewsEvent)
The event. This contains the updated data.
Remarks
The first callback following the creation of subscription will not contain a headline and should be ignored.

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.21.0 (5.0.21.0)