logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IPersistenceStore

    Interface for a generic persistence store.

    Namespace: Serenity.Persistence.Domain.Interfaces
    Assembly: Serenity.Global.Domain.dll
    Syntax
    public interface IPersistenceStore

    Properties

    Namespace

    The namespace or category of the persistence store.

    Declaration
    string Namespace { get; }
    Property Value
    Type Description
    string

    Methods

    HealthCheckAsync(CancellationToken)

    Performs a health check on the persistence store.

    Declaration
    Task<bool> HealthCheckAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A token to monitor for cancellation requests.

    Returns
    Type Description
    Task<bool>

    A task that represents the asynchronous health check operation, containing true if the store is healthy, false otherwise.

    In this article
    © 2026 Serenity. All Rights Reserved