Edit

Share via


ExchangeService.SubscribeToPushNotificationsOnAllFolders Method

Definition

Overloads

SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, EventType[])

Initiates a request to receive push notifications on all folders in a user's mailbox. The SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, EventType[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2010.

SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, String, EventType[])

Initiates a request to receive push notifications on all folders in a user's mailbox that includes a request for additional information to be returned in the push notification response. The SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, String, EventType[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, EventType[])

Initiates a request to receive push notifications on all folders in a user's mailbox. The SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, EventType[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2010.

public:
 Microsoft::Exchange::WebServices::Data::PushSubscription ^ SubscribeToPushNotificationsOnAllFolders(Uri ^ url, int frequency, System::String ^ watermark, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public Microsoft.Exchange.WebServices.Data.PushSubscription SubscribeToPushNotificationsOnAllFolders (Uri url, int frequency, string watermark, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function SubscribeToPushNotificationsOnAllFolders (url As Uri, frequency As Integer, watermark As String, ParamArray eventTypes As EventType()) As PushSubscription

Parameters

url
Uri

The URL of the web service endpoint to which the Exchange server is to push events.

frequency
Int32

The interval, in minutes, at which the Exchange Server 2010 is to contact the web service endpoint. The value of this parameter must be in the range from 1 to 1440.

watermark
String

An optional watermark that represents a previously opened subscription.

eventTypes
EventType[]

The types of events to subscribe to.

Returns

A PushSubscription object.

Remarks

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

Applies to

SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, String, EventType[])

Initiates a request to receive push notifications on all folders in a user's mailbox that includes a request for additional information to be returned in the push notification response. The SubscribeToPushNotificationsOnAllFolders(Uri, Int32, String, String, EventType[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 Microsoft::Exchange::WebServices::Data::PushSubscription ^ SubscribeToPushNotificationsOnAllFolders(Uri ^ url, int frequency, System::String ^ watermark, System::String ^ callerData, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public Microsoft.Exchange.WebServices.Data.PushSubscription SubscribeToPushNotificationsOnAllFolders (Uri url, int frequency, string watermark, string callerData, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function SubscribeToPushNotificationsOnAllFolders (url As Uri, frequency As Integer, watermark As String, callerData As String, ParamArray eventTypes As EventType()) As PushSubscription

Parameters

url
Uri

The URL of the web service endpoint the Exchange server should push events to.

frequency
Int32

The frequency, in minutes, at which the Exchange server should contact the Web Service endpoint. The frequency value must be between 1 and 1440.

watermark
String

An optional watermark representing a previously opened subscription.

callerData
String

Optional information that the caller requests be returned in the push notification response.

eventTypes
EventType[]

The event types to subscribe to.

Returns

A PushSubscription object.

Remarks

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

Applies to