Share via


DataCacheNotificationProperties Constructor

Creates a new instance of the DataCacheNotificationProperties class.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim maxQueueLength As Long
Dim pollInterval As TimeSpan

Dim instance As New DataCacheNotificationProperties(maxQueueLength, pollInterval)

Syntax

'Declaration
Public Sub New ( _
    maxQueueLength As Long, _
    pollInterval As TimeSpan _
)
public DataCacheNotificationProperties (
    long maxQueueLength,
    TimeSpan pollInterval
)
public:
DataCacheNotificationProperties (
    long long maxQueueLength, 
    TimeSpan pollInterval
)
public DataCacheNotificationProperties (
    long maxQueueLength, 
    TimeSpan pollInterval
)
public function DataCacheNotificationProperties (
    maxQueueLength : long, 
    pollInterval : TimeSpan
)

Parameters

  • maxQueueLength
    The maximum queue length for stored notifications on the cache cluster.
  • pollInterval
    The frequency with which the cache client communicates with the server to check for notifications.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheNotificationProperties Class
DataCacheNotificationProperties Members
Microsoft.ApplicationServer.Caching Namespace

Other Resources

Cache Notifications
Using Cache Notifications (AppFabric Caching Features)

  2011-08-26