 | IgnitionCacheAccessSet Method |
Inserts a cache entry into the cache.
Namespace: Ignition.UtilityAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntaxpublic void Set(
string key,
Object value,
TimeSpan? absoluteExpirationRelativeToNow = null
)
Public Sub Set (
key As String,
value As Object,
Optional absoluteExpirationRelativeToNow As TimeSpan? = Nothing
)
public:
void Set(
String^ key,
Object^ value,
Nullable<TimeSpan> absoluteExpirationRelativeToNow = nullptr
)
member Set :
key : string *
value : Object *
?absoluteExpirationRelativeToNow : Nullable<TimeSpan>
(* Defaults:
let _absoluteExpirationRelativeToNow = defaultArg absoluteExpirationRelativeToNow null
*)
-> unit Parameters
- key String
- A unique identifier for the cache entry to insert.
- value Object
- The data for the cache entry.
- absoluteExpirationRelativeToNow NullableTimeSpan (Optional)
- A fixed amount of time after which the cache entry will expire.
See Also