.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    DeleteAsync Method

    DeleteAsync(TKey)

    Removes an entry.

    Declaration
    Task DeleteAsync(TKey key)
    Parameters
    TKey key

    The key.

    Returns
    Task
    Remarks

    For performance reasons, this method does not return the removed value. Prefer RemoveAsync(TKey) if the value is required.

    However, note that RemoveAsync(TKey) may breaks the events contract: this method does not consider the removed value at all, which means that any event that would be filtered on the value (for instance via a predicate), and would trigger with RemoveAsync(TKey), will not trigger here.

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