IdeaBlade DevForce 2010 Help Reference
RefetchEntityAsync Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityManager Class : RefetchEntityAsync Method



entity
Entity to be refetched
mergeStrategy
Merge strategy
userCallback
Callback invoked when asynchronous operation completes
userState
Token identifying the asynchronous operation
Perform an asynchronous RefetchEntities(EntityKeyList,MergeStrategy) operation.

Syntax

Visual Basic (Declaration) 
Public Function RefetchEntityAsync( _
   ByVal entity As Object, _
   Optional ByVal mergeStrategy As MergeStrategy, _
   Optional ByVal userCallback As Action(Of EntityRefetchOperation), _
   Optional ByVal userState As Object _
) As EntityRefetchOperation
Visual Basic (Usage)Copy Code
Dim instance As EntityManager
Dim entity As Object
Dim mergeStrategy As MergeStrategy
Dim userCallback As Action(Of EntityRefetchOperation)
Dim userState As Object
Dim value As EntityRefetchOperation
 
value = instance.RefetchEntityAsync(entity, mergeStrategy, userCallback, userState)

Parameters

entity
Entity to be refetched
mergeStrategy
Merge strategy
userCallback
Callback invoked when asynchronous operation completes
userState
Token identifying the asynchronous operation

Remarks

Provide a userCallback if you want to be notified when the operation completes. Use the userState to uniquely identify this call. You can cancel a pending asynchronous call using CancelAsync.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.