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

ExchangeService.SubscribeToPullNotificationsOnAllFolders method

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:
© 2016 Microsoft