StreamLink for Silverlight
CreatePageSubscription Method (listener, subject, parameters)
StreamLink for SilverlightCaplin.StreamLinkIStreamLinkProviderCreatePageSubscription(IPageSubscriptionListener, String, IPageSubscriptionParameters)
Creates a news Page subscription using a supplied set of subscription parameters.
Declaration Syntax
C#Visual BasicVisual C++
IPageSubscription CreatePageSubscription(
	IPageSubscriptionListener listener,
	string subject,
	IPageSubscriptionParameters parameters
)
Function CreatePageSubscription ( _
	listener As IPageSubscriptionListener, _
	subject As String, _
	parameters As IPageSubscriptionParameters _
) As IPageSubscription
IPageSubscription^ CreatePageSubscription(
	IPageSubscriptionListener^ listener, 
	String^ subject, 
	IPageSubscriptionParameters^ parameters
)
Parameters
listener (IPageSubscriptionListener)
The listener that will receive events relating to the subscribed page.
subject (String)
The subject of the page.
parameters (IPageSubscriptionParameters)
The subscription parameters for the page. To obtain an IPageSubscriptionParameters object, first obtain the IParametersFactory associated with the IStreamLinkProvider. Then call a method such as CreatePageSubscriptionParameters()()() on the IParametersFactory; this will return a valid IPageSubscriptionParameters object.
Return Value
A new page subscription.

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