ExchangeService.SubscribeToStreamingNotifications method

Subscribes to streaming notifications. Calling this method results in a call to Exchange Web Services (EWS).

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

'Declaration
Public Function SubscribeToStreamingNotifications ( _
	folderIds As IEnumerable(Of FolderId), _
	ParamArray eventTypes As EventType() _
) As StreamingSubscription
'Usage
Dim instance As ExchangeService
Dim folderIds As IEnumerable(Of FolderId)
Dim eventTypes As EventType()
Dim returnValue As StreamingSubscription

returnValue = instance.SubscribeToStreamingNotifications(folderIds, _
	eventTypes)

Parameters

folderIds
Type: System.Collections.Generic.IEnumerable<FolderId>

The folder identifiers of the folder to be subscribed to.

eventTypes
Type: []

The event types to be subscribed to.

Return value

Type: Microsoft.Exchange.WebServices.Data.StreamingSubscription
A subscription to the specified events..
Show: