StreamingSubscriptionConnection.AddSubscription(StreamingSubscription) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a subscription to this connection.
public:
void AddSubscription(Microsoft::Exchange::WebServices::Data::StreamingSubscription ^ subscription);
public void AddSubscription (Microsoft.Exchange.WebServices.Data.StreamingSubscription subscription);
Public Sub AddSubscription (subscription As StreamingSubscription)
Parameters
- subscription
- StreamingSubscription
The subscription to add.
Exceptions
Thrown when AddSubscription is called while connected.