다음을 통해 공유


RefreshInterval Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the refresh interval for the cache, in seconds.

Namespace:  Microsoft.CommerceServer.Runtime.Caching
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property RefreshInterval As Integer
'Usage
Dim instance As CommerceCache
Dim value As Integer

value = instance.RefreshInterval

instance.RefreshInterval = value
public int RefreshInterval { get; set; }
public:
property int RefreshInterval {
    int get ();
    void set (int value);
}
public function get RefreshInterval () : int
public function set RefreshInterval (value : int)

Property Value

Type: System..::.Int32
The refresh interval for the cache, in seconds.

Exceptions

Exception Condition
CommerceCacheException

A General failure

Remarks

Stores the refresh interval of the cache. This is the approximate amount of time in seconds that the CacheMangager will sleep before automatically refreshing the cache. A value of zero means that the cache should never be automatically refreshed. Throws a CommerceCacheException on failure.

Permissions

See Also

Reference

CommerceCache Class

CommerceCache Members

Microsoft.CommerceServer.Runtime.Caching Namespace