ExchangeService.BeginSubscribeToPushNotificationsOnAllFolders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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[]) |
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[])
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
A reference to the method to call when the corresponding asynchronous operation completes.
- state
- Object
An object that contains state information for the specified request.
- url
- Uri
The URL of the web service endpoint to which the Exchange server should push events.
- frequency
- 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
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).
Applies to
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
A reference to the method to call when the corresponding asynchronous operation completes.
- state
- Object
An object that contains state information for this request.
- url
- Uri
The URL of the web service endpoint to which the Exchange server should push events.
- frequency
- 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
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
An object that references the asynchronous request.
Remarks
Calling this method results in a call to Exchange Web Services (EWS).