ExchangeService.BeginSubscribeToPullNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Int32, String, EventType[]) ExchangeService.BeginSubscribeToPullNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Int32, String, EventType[]) ExchangeService.BeginSubscribeToPullNotifications(AsyncCallback, Object, IEnumerable<FolderId>, Int32, String, EventType[]) Method

Definition

Begins an asynchronous request to subscribe to pull notifications.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.

public:
 IAsyncResult ^ BeginSubscribeToPullNotifications(AsyncCallback ^ callback, System::Object ^ state, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ folderIds, int timeout, System::String ^ watermark, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public IAsyncResult BeginSubscribeToPullNotifications (AsyncCallback callback, object state, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> folderIds, int timeout, string watermark, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function BeginSubscribeToPullNotifications (callback As AsyncCallback, state As Object, folderIds As IEnumerable(Of FolderId), 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.

folderIds
IEnumerable<FolderId>

The folder identifiers of the folders to be subscribed to.

timeout
Int32 Int32 Int32

The duration of the time-out, in minutes, after which the subscription expires. The time-out 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

An IAsyncResult object that references the asynchronous request.

Remarks

Calling this method results in a call to Exchange Web Service (EWS).

Applies to