Gets the cache key with key prefix.
Namespace: DotNetNuke.Services.CacheAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static string GetCacheKey( string CacheKey ) |
| Visual Basic |
|---|
Public Shared Function GetCacheKey ( CacheKey As String ) As String |
Parameters
- CacheKey
- Type: System..::..String
The cache key.
Return Value
CachePrefix + CacheKey
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | Cache key is empty. |