Edit

Share via


StreamingSubscriptionConnection.AddSubscription(StreamingSubscription) Method

Definition

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.

Applies to