Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ExchangeService.BeginSubscribeToPullNotifications method

EWS Managed API

Begins an asynchronous request to subscribe to pull notifications.

This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
public IAsyncResult BeginSubscribeToPullNotifications(
	AsyncCallback callback,
	Object state,
	IEnumerable<FolderId> folderIds,
	int timeout,
	string watermark,
	params EventType[] eventTypes
)

Parameters

callback
Type: System.AsyncCallback

The AsyncCallback delegate.

state
Type: System.Object

An object that contains state information for the specified request.

folderIds
Type: System.Collections.Generic.IEnumerable<FolderId>

The folder identifiers of the folders to be subscribed to.

timeout
Type: System.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
Type: System.String

An optional watermark representing a previously opened subscription.

eventTypes
Type: []

The event types to be subscribed to.

Return value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous request.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.