ExchangeService.BeginSubscribeToStreamingNotifications 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.
Begins an asynchronous request to subscribe to streaming notifications.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.
public:
IAsyncResult ^ BeginSubscribeToStreamingNotifications(AsyncCallback ^ callback, System::Object ^ state, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ folderIds, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public IAsyncResult BeginSubscribeToStreamingNotifications (AsyncCallback callback, object state, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> folderIds, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function BeginSubscribeToStreamingNotifications (callback As AsyncCallback, state As Object, folderIds As IEnumerable(Of FolderId), ParamArray eventTypes As EventType()) As IAsyncResult
Parameters
- callback
- AsyncCallback
The AsyncCallback delegate.
- state
- Object
An object that contains state information for the specified request.
- folderIds
- IEnumerable<FolderId>
The folder IDs of the folders to be subscribed to.
- 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 Service (EWS).