ExchangeService.BeginSubscribeToStreamingNotificationsOnAllFolders method

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.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

'Declaration
Public Function BeginSubscribeToStreamingNotificationsOnAllFolders ( _
	callback As AsyncCallback, _
	state As Object, _
	ParamArray eventTypes As EventType() _
) As IAsyncResult
'Usage
Dim instance As ExchangeService
Dim callback As AsyncCallback
Dim state As Object
Dim eventTypes As EventType()
Dim returnValue As IAsyncResult

returnValue = instance.BeginSubscribeToStreamingNotificationsOnAllFolders(callback, _
	state, eventTypes)

Parameters

callback
Type: System.AsyncCallback

The AsyncCallback delegate.

state
Type: System.Object

An object that contains state information for the specified request.

eventTypes
Type: []

The event types to be subscribed to.

Return value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous request.

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

Show: