Creates a container subscription.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
IContainerSubscription CreateContainerSubscription( IContainerSubscriptionListener listener, string subject )
Function CreateContainerSubscription ( _ listener As IContainerSubscriptionListener, _ subject As String _ ) As IContainerSubscription
IContainerSubscription^ CreateContainerSubscription( IContainerSubscriptionListener^ listener, String^ subject )
![](../icons/collapse_all.gif)
- listener (IContainerSubscriptionListener)
- The listener that will receive events relating to the subscribed container.
- subject (String)
- The subject of the container (for example “/FX/Majors”).
![](../icons/collapse_all.gif)
A new container subscription.