SubscribeToStreamingNotifications method
TOC
Collapse the table of content
Expand the table of content

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)

public StreamingSubscription SubscribeToStreamingNotifications(
	IEnumerable<FolderId> folderIds,
	params EventType[] 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:
© 2016 Microsoft