public virtual FTPSyncResults EndSynchronize(
IAsyncResult asyncResult
)Public Overridable Function EndSynchronize (
asyncResult As IAsyncResult
) As FTPSyncResultspublic:
virtual FTPSyncResults^ EndSynchronize(
IAsyncResult^ asyncResult
)abstract EndSynchronize :
asyncResult : IAsyncResult -> FTPSyncResults
override EndSynchronize :
asyncResult : IAsyncResult -> FTPSyncResults Before calling BeginSynchronize(AsyncCallback, Object), you need to create a callback method that implements the AsyncCallback delegate. This callback method executes in a separate thread and is called by the system after BeginSynchronize(AsyncCallback, Object) returns. The callback method must accept the IAsyncResult returned by the BeginSynchronize(AsyncCallback, Object) method as a parameter. This parameter may then be passed to the EndSynchronize method to complete the operation.