ExchangeService.BeginSyncFolderHierarchy method (AsyncCallback, Object, FolderId, PropertySet, String)

Begins an asynchronous request to synchronize the subfolders of a specified folder hierarchy.

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)

public IAsyncResult BeginSyncFolderHierarchy(
	AsyncCallback callback,
	Object state,
	FolderId syncFolderId,
	PropertySet propertySet,
	string syncState
)

Parameters

callback
Type: System.AsyncCallback

The AsyncCallback delegate.

state
Type: System.Object

An object that contains state information for the specified request.

syncFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId

The identifier of the folder containing the items to be synchronized. A a null reference (Nothing in Visual Basic) value indicates that the root folder of the mailbox should be synchronized.

propertySet
Type: Microsoft.Exchange.WebServices.Data.PropertySet

The set of properties to be retrieved for synchronized items.

syncState
Type: System.String

The optional synchronization state representing the point in time at which the synchronization is to start.

Return value

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

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

Show: