IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Specification details:
Retrieves the value that is associated with the specified key. If the value is not found, a null is returned.
Namespace: IBM.WebSphere.Caching.MapIf the map supports null values, use the ContainsKey(TKey) to test for a key that may have a null value.
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax
Parameters
- key
- Type: TKey
Specifies the key to query.
Return Value
The value that is associated with the specified key if it exists; otherwise null is returned.Exceptions
Exception | Condition |
---|---|
System ArgumentException | Occurs when a null key is specified, or when the data type of the value that was obtained from the data grid does not match the declared data type. |
IBM.WebSphere.Caching GridException | Occurs when an error occurs during processing. |
IBM.WebSphere.Caching.Security AccessControlException | Occurs when the caller has insufficient authority to perform this operation. |
Remarks
Required client permission: | MapPermission.READ |
Pessimistic locks acquired: | LockMode.Shared |
Cache tier: | Progresses to all tiers until the key is found. |
See Also