DataCache.GetObjectsInRegion Method (String)

 

Gets an enumerable list of all cached objects in the specified region. Not supported in Windows Azure Shared Caching.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

public IEnumerable<KeyValuePair<string, object>> GetObjectsInRegion(
    string region
)
public:
IEnumerable<KeyValuePair<String^, Object^>>^ GetObjectsInRegion(
    String^ region
)
member GetObjectsInRegion : 
        region:string -> IEnumerable<KeyValuePair<string, Object>>
Public Function GetObjectsInRegion (
    region As String
) As IEnumerable(Of KeyValuePair(Of String, Object))

Parameters

  • region
    Type: System.String

    The name of the region for which to return a list of all resident objects.

Return Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, Object>>

An enumerable list of all cached objects in the specified region.

See Also

DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top