StreamLink.NET
CreateStorySubscription Method (listener, subject, parameters)
StreamLink.NETCaplin.StreamLinkIStreamLinkProviderCreateStorySubscription(IStorySubscriptionListener, String, IStorySubscriptionParameters)
Creates a news story subscription using a supplied set of subscription parameters.
Declaration Syntax
C#Visual BasicVisual C++
IStorySubscription CreateStorySubscription(
	IStorySubscriptionListener listener,
	string subject,
	IStorySubscriptionParameters parameters
)
Function CreateStorySubscription ( _
	listener As IStorySubscriptionListener, _
	subject As String, _
	parameters As IStorySubscriptionParameters _
) As IStorySubscription
IStorySubscription^ CreateStorySubscription(
	IStorySubscriptionListener^ listener, 
	String^ subject, 
	IStorySubscriptionParameters^ parameters
)
Parameters
listener (IStorySubscriptionListener)
The listener that will receive events relating to the subscribed container.
subject (String)
The subject of the story headline (for example "/NEWS").
parameters (IStorySubscriptionParameters)
The subscription parameters for the story To obtain an IStorySubscriptionParameters object, first obtain the IParametersFactory associated with the IStreamLinkProvider. Then call a method such as CreateStorySubscriptionParameters()()() on the IParametersFactory; this will return a valid IStorySubscriptionParameters object.
Return Value
A new story subscription.

Assembly: Caplin.StreamLink (Module: Caplin.StreamLink) Version: 5.0.18.0 (5.0.18.0)