ExchangeServiceBinding.BeginSyncFolderHierarchy Method

The BeginSyncFolderHierarchy method is used to begin an asynchronous SyncFolderHierarchy call.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
Public Function BeginSyncFolderHierarchy ( _
    SyncFolderHierarchy1 As SyncFolderHierarchyType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim SyncFolderHierarchy1 As SyncFolderHierarchyType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSyncFolderHierarchy(SyncFolderHierarchy1, _
    callback, asyncState)
public IAsyncResult BeginSyncFolderHierarchy(
    SyncFolderHierarchyType SyncFolderHierarchy1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

Type: System.IAsyncResult
The BeginSyncFolderHierarchy method returns an IAsyncResult object.