StreamingSubscriptionConnection Constructors
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.
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.
- subscriptions
- IEnumerable<StreamingSubscription>
A StreamingSubscription object.
- lifetime
- Int32
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for