.NET Client Documentation
5.4.0
Search Results for

    Show / Hide Table of Contents

    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

    "myMap@group1"
    Returns
    Task<ICPMap<TKey, TValue>>
    Type Parameters
    TKey

    Type of the key.

    TValue

    Type of the value.

    In this article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.