ExchangeService.SubscribeToPullNotificationsOnAllFolders Method

Definition

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

public:
 Microsoft::Exchange::WebServices::Data::PullSubscription ^ SubscribeToPullNotificationsOnAllFolders(int timeout, System::String ^ watermark, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public Microsoft.Exchange.WebServices.Data.PullSubscription SubscribeToPullNotificationsOnAllFolders (int timeout, string watermark, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function SubscribeToPullNotificationsOnAllFolders (timeout As Integer, watermark As String, ParamArray eventTypes As EventType()) As PullSubscription

Parameters

timeout
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
String

An optional watermark that represents a previously opened subscription.

eventTypes
EventType[]

The event types to be subscribed to.

Returns

A subscription to the specified events.

Applies to