.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    PutAsync Method

    PutAsync(TKey, TValue)

    Transactional implementation of PutAsync(TKey, TValue).

    Declaration
    Task<TValue> PutAsync(TKey key, TValue value)
    Parameters
    TKey key

    A key.

    TValue value

    A value.

    Returns
    Task<TValue>
    Remarks

    The inserted entry wil be visible only in the current transaction context, until the transaction is committed.

    PutAsync(TKey, TValue, TimeSpan)

    Transactional implementation of PutAsync(TKey, TValue, TimeSpan).

    Declaration
    Task<TValue> PutAsync(TKey key, TValue value, TimeSpan timeToLive)
    Parameters
    TKey key

    A key.

    TValue value

    A value.

    TimeSpan timeToLive

    A time to live.

    Returns
    Task<TValue>
    Remarks

    The inserted entry wil be visible only in the current transaction context, until the transaction is committed.

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