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:
Adds the key-value pair to the data grid.
Namespace: IBM.WebSphere.Caching.MapThe key must not exist before executing this method.
A DuplicateKeyException is thrown when the duplicate key is discovered.
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax
Parameters
- key
- Type: TKey
Specifies the key to be inserted in the data grid.
- value
- Type: TValue
Specifies the value to be inserted in the data grid.
Return Value
Exceptions
Exception | Condition |
---|---|
System ArgumentException | Occurs when a null key is specified. |
IBM.WebSphere.Caching.Map DuplicateKeyException | Occurs when the key exists. |
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.INSERT |
Cache tier: | Applied to all tiers during commit. |
See Also