Expand Minimize
This topic has not yet been rated - Rate this topic

ExchangeService.SubscribeToPullNotificationsOnAllFolders method

EWS Managed API

Subscribes to pull notifications on all folders in a user's mailbox.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
public PullSubscription SubscribeToPullNotificationsOnAllFolders(
	int timeout,
	string watermark,
	params EventType[] eventTypes
)

Parameters

timeout
Type: System.Int32

The amount of elapsed time, in minutes, after which the subscription expires. The value of this parameter must be in the range from 1 through 1440.

watermark
Type: System.String

An optional watermark that represents a previously opened subscription.

eventTypes
Type: []

The event types to be subscribed to.

Return value

Type: Microsoft.Exchange.WebServices.Data.PullSubscription
A subscription to the specified events.
Show:
© 2014 Microsoft. All rights reserved.