다음을 통해 공유


RetryInterval Property

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

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

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

Syntax

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

value = instance.RetryInterval

instance.RetryInterval = value
public int RetryInterval { get; set; }
public:
property int RetryInterval {
    int get ();
    void set (int value);
}
public function get RetryInterval () : int
public function set RetryInterval (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 retry interval of the cache. This is the approximate amount of time in seconds that the CacheMangager will sleep after a previous failure before retrying the cache refresh. A value of zero means that a retry interval is set to 60 seconds. Throws a CommerceCacheException on failure.

Permissions

See Also

Reference

CommerceCache Class

CommerceCache Members

Microsoft.CommerceServer.Runtime.Caching Namespace