Refresh Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Refreshes the Cache.
Namespace: Microsoft.CommerceServer.Runtime.Caching
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Refresh
'Usage
Dim instance As CommerceCache
instance.Refresh()
public void Refresh()
public:
void Refresh()
public function Refresh()
Exceptions
Exception | Condition |
---|---|
CommerceCacheException | A General failure |
Remarks
Internally uses the CacheManager.RefreshCache method. Throws a CommerceCacheException on failure.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.