Megosztás a következőn keresztül:


DataCacheOperationDescriptor Constructor

Creates a new instance of the DataCacheOperationDescriptor class using the specified parameters.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim cacheName As String
Dim regionName As String
Dim key As String
Dim opType As DataCacheOperations
Dim version As DataCacheItemVersion

Dim instance As New DataCacheOperationDescriptor(cacheName, regionName, key, opType, version)

Syntax

'Declaration
Public Sub New ( _
    cacheName As String, _
    regionName As String, _
    key As String, _
    opType As DataCacheOperations, _
    version As DataCacheItemVersion _
)
public DataCacheOperationDescriptor (
    string cacheName,
    string regionName,
    string key,
    DataCacheOperations opType,
    DataCacheItemVersion version
)
public:
DataCacheOperationDescriptor (
    String^ cacheName, 
    String^ regionName, 
    String^ key, 
    DataCacheOperations opType, 
    DataCacheItemVersion^ version
)
public DataCacheOperationDescriptor (
    String cacheName, 
    String regionName, 
    String key, 
    DataCacheOperations opType, 
    DataCacheItemVersion version
)
public function DataCacheOperationDescriptor (
    cacheName : String, 
    regionName : String, 
    key : String, 
    opType : DataCacheOperations, 
    version : DataCacheItemVersion
)

Parameters

  • cacheName
    Name of the cache in which the operation occurred.
  • regionName
    The name of the region where the object is stored.
  • key
    The key used to store the object in the cache.
  • opType
    The type of operation that occurred.
  • version
    The version of the cached object.

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

DataCacheOperationDescriptor Class
DataCacheOperationDescriptor Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26