IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > CacheStateManager Class > RestoreCacheState Method : RestoreCacheState(String,Boolean) Method |
'Declaration
Public Overloads Sub RestoreCacheState( _ ByVal fileName As String, _ Optional ByVal useBinaryFormat As Boolean _ )
'Usage
Dim instance As CacheStateManager Dim fileName As String Dim useBinaryFormat As Boolean instance.RestoreCacheState(fileName, useBinaryFormat)
public void RestoreCacheState( string fileName, bool useBinaryFormat )
Exception | Description |
---|---|
System.UnauthorizedAccessException | The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error. |
System.Security.SecurityException | The exception that is thrown when a security error is detected. |
System.IO.IOException | The exception that is thrown when an I/O error occurs. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2