Edit

Share via


ExchangeService.SubscribeToStreamingNotifications Method

Definition

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..

Applies to