Click or drag to resize

CacheGetString Method (String)

Immediatley retrieve a string value from the cache with the given name with no throttling.

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Cache (in ASCOM.Cache.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public string GetString(
	string Key
)

Parameters

Key
Type: SystemString
Name of this item in the cache. The key is case sensitive.

Return Value

Type: String
The requested string value, if present in the cache, or a "NotInCacheException" if there is no item in the cache that has the supplied name.
Exceptions
ExceptionCondition
InvalidValueExceptionWhen Key is null or empty.
NotInCacheExceptionWhen there is no item in the cache with the supplied key.
See Also