ExchangeService.BeginSubscribeToStreamingNotifications(AsyncCallback, Object, IEnumerable<FolderId>, EventType[]) ExchangeService.BeginSubscribeToStreamingNotifications(AsyncCallback, Object, IEnumerable<FolderId>, EventType[]) ExchangeService.BeginSubscribeToStreamingNotifications(AsyncCallback, Object, IEnumerable<FolderId>, EventType[]) Method

Definition

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 AsyncCallback AsyncCallback

The AsyncCallback delegate.

state
Object Object 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).

Applies to