ExchangeService.BeginSubscribeToPullNotificationsOnAllFolders(AsyncCallback, Object, Int32, String, EventType[]) ExchangeService.BeginSubscribeToPullNotificationsOnAllFolders(AsyncCallback, Object, Int32, String, EventType[]) ExchangeService.BeginSubscribeToPullNotificationsOnAllFolders(AsyncCallback, Object, Int32, String, EventType[]) Method

Definition

Begins an asynchronous request to subscribe to pull notifications on all folders in a specified user's mailbox.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.

public:
 IAsyncResult ^ BeginSubscribeToPullNotificationsOnAllFolders(AsyncCallback ^ callback, System::Object ^ state, int timeout, System::String ^ watermark, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public IAsyncResult BeginSubscribeToPullNotificationsOnAllFolders (AsyncCallback callback, object state, int timeout, string watermark, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function BeginSubscribeToPullNotificationsOnAllFolders (callback As AsyncCallback, state As Object, timeout As Integer, watermark As String, ParamArray eventTypes As EventType()) As IAsyncResult

Parameters

callback
AsyncCallback AsyncCallback AsyncCallback

The AsyncCallback delegate.

state
Object Object Object

An object that contains state information for the specified request.

timeout
Int32 Int32 Int32

The duration of the time-out, in minutes, after which the subscription expires. The timeout period must be in the range from 1 through 1440.

watermark
String String String

An optional watermark representing a previously opened subscription.

eventTypes
EventType[]

The event types to be subscribed to.

Returns

The event types to be subscribed to.

Applies to