Creates a news Page subscription using a supplied set of subscription parameters.
Declaration Syntax
C# | Visual Basic | Visual 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.