ExchangeService.BeginSyncFolderItems method

Begins an asynchronous request to synchronize the items contained in a specified folder.

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 BeginSyncFolderItems(
	AsyncCallback callback,
	Object state,
	FolderId syncFolderId,
	PropertySet propertySet,
	IEnumerable<ItemId> ignoredItemIds,
	int maxChangesReturned,
	SyncFolderItemsScope syncScope,
	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.

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

The set of properties to be retrieved for synchronized items.

ignoredItemIds
Type: System.Collections.Generic.IEnumerable<ItemId>

An optional collection of ItemId objects that should be ignored.

maxChangesReturned
Type: System.Int32

The maximum number of changes that can be returned in the result set.

syncScope
Type: Microsoft.Exchange.WebServices.Data.SyncFolderItemsScope

The scope of items that can be returned in the result set.

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 IAsyncResult object that references the asynchronous request.

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

Show: