ExchangeService.BeginSubscribeToPushNotificationsOnAllFolders ExchangeService.BeginSubscribeToPushNotificationsOnAllFolders ExchangeService.BeginSubscribeToPushNotificationsOnAllFolders Method

Definition

Overloads

BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[])

Begins an asynchronous request to subscribe to push notifications on all folders in a specified user's mailbox. The BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, String, EventType[])

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

BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[])

Begins an asynchronous request to subscribe to push notifications on all folders in a specified user's mailbox. The BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, EventType[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

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

A reference to the method to call when the corresponding asynchronous operation completes.

state
Object Object Object

An object that contains state information for the specified request.

url
Uri Uri Uri

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

frequency
Int32 Int32 Int32

The interval, in minutes, at which the Exchange server is to contact the web service endpoint. This value 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

A synchronization result object that references the asynchronous request.

Remarks

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

BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, String, EventType[]) BeginSubscribeToPushNotificationsOnAllFolders(AsyncCallback, Object, Uri, Int32, String, String, EventType[])

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

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

A reference to the method to call when the corresponding asynchronous operation completes.

state
Object Object Object

An object that contains state information for this request.

url
Uri Uri Uri

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

frequency
Int32 Int32 Int32

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

watermark
String String String

An optional watermark representing a previously opened subscription.

callerData
String String String

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

eventTypes
EventType[]

The event types to subscribe to.

Returns

An object that references the asynchronous request.

Remarks

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

Applies to