Edit

Share via


StreamingSubscriptionConnection Constructors

Definition

Overloads

StreamingSubscriptionConnection(ExchangeService, Int32)

Initializes a new instance of the StreamingSubscriptionConnection class.

StreamingSubscriptionConnection(ExchangeService, IEnumerable<StreamingSubscription>, Int32)

Initializes a new instance of the StreamingSubscriptionConnection class.

StreamingSubscriptionConnection(ExchangeService, Int32)

Initializes a new instance of the StreamingSubscriptionConnection class.

public:
 StreamingSubscriptionConnection(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, int lifetime);
public StreamingSubscriptionConnection (Microsoft.Exchange.WebServices.Data.ExchangeService service, int lifetime);
Public Sub New (service As ExchangeService, lifetime As Integer)

Parameters

service
ExchangeService

The ExchangeService instance that this connection uses to connect to the server.

lifetime
Int32

Applies to

StreamingSubscriptionConnection(ExchangeService, IEnumerable<StreamingSubscription>, Int32)

Initializes a new instance of the StreamingSubscriptionConnection class.

public:
 StreamingSubscriptionConnection(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::StreamingSubscription ^> ^ subscriptions, int lifetime);
public StreamingSubscriptionConnection (Microsoft.Exchange.WebServices.Data.ExchangeService service, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.StreamingSubscription> subscriptions, int lifetime);
Public Sub New (service As ExchangeService, subscriptions As IEnumerable(Of StreamingSubscription), lifetime As Integer)

Parameters

service
ExchangeService

The ExchangeService instance that this connection uses to connect to the server.

lifetime
Int32

Applies to