EN
Ta zawartość nie jest dostępna w wymaganym języku. Wersja w języku angielskim znajduje się tutaj.
Ten temat nie został jeszcze oceniony - Oceń ten temat

Get Method (String, DataCacheItemVersion)

Gets an object from the cache using the specified key. You may also provide the version to obtain a specific version of a key, if that version is still the most current in the cache.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
public Object Get(
	string key,
	out DataCacheItemVersion version
)

Parameters

key
Type: System..::..String
The unique value that is used to identify the object in the cache.
version
Type: Microsoft.ApplicationServer.Caching..::..DataCacheItemVersion%
The version of the desired object. If this parameter is null, the version of the current object is retrieved.

Return Value

Type: System..::..Object
The object that was cached by using the specified key. Null is returned if the key does not exist. Even if the key does exist, Null may also be returned because the object has been updated to a new version.
Oceniasz te materiały jako pomocne?
(Pozostało znaków: 1500)

Zawartość społeczności

Dodaj
© 2013 Microsoft. Wszelkie prawa zastrzeżone.
facebook page visit twitter rss feed newsletter