Share via


CacheManager.RetryInterval Property (PIA)

The RetryInterval property is a read/write Integer that specifies the approximate number of seconds to wait before retrying to load the data cache after failing to load.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Caching
…
Public Property RetryInterval(bstrName As String) As Integer

[C#]

Get method:

using Microsoft.CommerceServer.Interop.Caching;
…
public int get_RetryInterval(stringbstrName);

Put method:

public void set_RetryInterval(stringbstrName,
 intplRetry);

Parameters

[Visual Basic .NET]

  • bstrName
    A String that contains the name of a data cache for which the retry interval is being provided or retrieved.

[C#]

  • bstrName
    A string that contains the name of a data cache for which the retry interval is being provided or retrieved.
  • plRetry
    When setting the property, an int that contains the new retry interval value.

Return Values

When getting, an int with the retry interval.

Exceptions

This property may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

Remarks

A retry interval value provides the number of seconds the CacheManager object should wait before retrying a failed cache refresh operation.

The default retry interval value is 60 (seconds).

The retry interval must be at least 1 (second).

[C#] The get_RetryInterval and set_RetryInterval methods do not show up in IntelliSense.

Requirements

Namespace: Microsoft.CommerceServer.Interop.Caching

Platforms: Windows 2000, Windows Server 2003

Assembly: cachecomplib (in cachecomplib.dll)

See Also

CacheManager Class

Copyright © 2005 Microsoft Corporation.
All rights reserved.