GetMapAsync Method
GetMapAsync<TKey, TValue>(string)
Gets an ICPMap<TKey, TValue> distributed object.
CPMap is only available in enterprise cluster. The map will be created in DEFAULT CP group if no group name provided within name
.
If a group name provided, first, the group will be initialized,
if does not exist. Then, ICPMap<TKey, TValue> instance will be created on this group.
Declaration
Task<ICPMap<TKey, TValue>> GetMapAsync<TKey, TValue>(string name)
Parameters
string | name | The unique name of the map. It can contain the group name like
|
Returns
Task<ICPMap<TKey, TValue>> |
Type Parameters
TKey | Type of the key. |
TValue | Type of the value. |