ExchangeService.BeginSubscribeToStreamingNotifications method

Begins an asynchronous request to subscribe to streaming notifications.

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 BeginSubscribeToStreamingNotifications ( _
	callback As AsyncCallback, _
	state As Object, _
	folderIds As IEnumerable(Of FolderId), _
	ParamArray eventTypes As EventType() _
) As IAsyncResult
'Usage
Dim instance As ExchangeService
Dim callback As AsyncCallback
Dim state As Object
Dim folderIds As IEnumerable(Of FolderId)
Dim eventTypes As EventType()
Dim returnValue As IAsyncResult

returnValue = instance.BeginSubscribeToStreamingNotifications(callback, _
	state, folderIds, eventTypes)

Parameters

callback
Type: System.AsyncCallback

The AsyncCallback delegate.

state
Type: System.Object

An object that contains state information for the specified request.

folderIds
Type: System.Collections.Generic.IEnumerable<FolderId>

The folder IDs of the folders to be subscribed to.

eventTypes
Type: []

The event types to be subscribed to.

Return value

Type: System.IAsyncResult
A synchronization result object that references the asynchronous request.

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

Show: