ExchangeService.BeginSubscribeToStreamingNotificationsOnAllFolders Method

Definition

Begins an asynchronous request to subscribe to streaming notifications on all folders in a specified user's mailbox.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.

public:
 IAsyncResult ^ BeginSubscribeToStreamingNotificationsOnAllFolders(AsyncCallback ^ callback, System::Object ^ state, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public IAsyncResult BeginSubscribeToStreamingNotificationsOnAllFolders (AsyncCallback callback, object state, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function BeginSubscribeToStreamingNotificationsOnAllFolders (callback As AsyncCallback, state As Object, ParamArray eventTypes As EventType()) As IAsyncResult

Parameters

callback
AsyncCallback

The AsyncCallback delegate.

state
Object

An object that contains state information for the specified request.

eventTypes
EventType[]

The event types to be subscribed to.

Returns

An IAsyncResult object that references the asynchronous request.

Remarks

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

Applies to