ExchangeService.SubscribeToStreamingNotifications 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.
Subscribes to streaming notifications. Calling this method results in a call to Exchange Web Services (EWS).
public:
Microsoft::Exchange::WebServices::Data::StreamingSubscription ^ SubscribeToStreamingNotifications(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ folderIds, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public Microsoft.Exchange.WebServices.Data.StreamingSubscription SubscribeToStreamingNotifications (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> folderIds, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function SubscribeToStreamingNotifications (folderIds As IEnumerable(Of FolderId), ParamArray eventTypes As EventType()) As StreamingSubscription
Parameters
- folderIds
- IEnumerable<FolderId>
The folder identifiers of the folder to be subscribed to.
- eventTypes
- EventType[]
The event types to be subscribed to.
Returns
A subscription to the specified events..