Visual Basic (Declaration) | |
---|---|
Public Overloads Sub RestoreCacheState( _ ByVal entityCacheState As EntityCacheState, _ ByVal strategy As RestoreStrategy _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CacheStateManager Dim entityCacheState As EntityCacheState Dim strategy As RestoreStrategy instance.RestoreCacheState(entityCacheState, strategy) |
C# | |
---|---|
public void RestoreCacheState( EntityCacheState entityCacheState, RestoreStrategy strategy ) |
C++/CLI | |
---|---|
public: void RestoreCacheState( EntityCacheState^ entityCacheState, RestoreStrategy^ strategy ) |
Parameters
- entityCacheState
- EntityCacheState to be merged
- strategy
- The restore strategy to use
The entityCacheState provided can be an EntityCacheState deserialized using the EntityCacheState.Restore method or an EntityCacheState created from another EntityManager.
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