| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function RefetchEntitiesAsync( _ ByVal entityState As EntityState, _ 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 entityState As EntityState Dim mergeStrategy As MergeStrategy Dim userCallback As Action(Of EntityRefetchOperation) Dim userState As Object Dim value As EntityRefetchOperation value = instance.RefetchEntitiesAsync(entityState, mergeStrategy, userCallback, userState)  | |
| C# | |
|---|---|
public EntityRefetchOperation RefetchEntitiesAsync( EntityState entityState, MergeStrategy mergeStrategy, Action<EntityRefetchOperation> userCallback, object userState )  | |
| C++/CLI | |
|---|---|
public: EntityRefetchOperation^ RefetchEntitiesAsync( EntityState entityState, MergeStrategy mergeStrategy, Action<EntityRefetchOperation^>^ userCallback, Object^ userState )  | |
Parameters
- entityState
 - EntityState(s) of entities to be refetched
 - mergeStrategy
 - Merge strategy
 - userCallback
 - Callback invoked when asynchronous operation completes
 - userState
 - Token identifying the asynchronous operation
 
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.
            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