Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.