Partilhar via


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

See Also

Reference

CommerceCache Class

CommerceCache Members

Microsoft.CommerceServer.Runtime.Caching Namespace