Search Results for

    Show / Hide Table of Contents

    Class ManualRecoveryHandler

    A client reset strategy where the user needs to fully take care of a client reset.

    Inheritance
    Object
    ClientResetHandlerBase
    ManualRecoveryHandler
    Namespace: Realms.Sync.ErrorHandling
    Assembly: Realm.dll
    Syntax
    public sealed class ManualRecoveryHandler : ClientResetHandlerBase

    Constructors

    | Improve this Doc View Source

    ManualRecoveryHandler()

    Initializes a new instance of the ManualRecoveryHandler class that uses the Session.Error as handler for client resets.

    Declaration
    [Obsolete("Use ManualRecoveryHandler(ClientResetCallback onClientReset) instead.")]
    public ManualRecoveryHandler()
    Remarks

    This obsolete constructor should be used only when the user wants to use the obsolete Session.Error event for handling session errors and client resets.

    | Improve this Doc View Source

    ManualRecoveryHandler(ClientResetHandlerBase.ClientResetCallback)

    Initializes a new instance of the ManualRecoveryHandler class with the supplied client reset handler.

    Declaration
    public ManualRecoveryHandler(ClientResetHandlerBase.ClientResetCallback onClientReset)
    Parameters
    Type Name Description
    ClientResetHandlerBase.ClientResetCallback onClientReset

    Callback triggered when a manual client reset happens.

    Properties

    | Improve this Doc View Source

    OnClientReset

    Gets the callback to manually handle a Client Reset. A Client Reset should be handled as quickly as possible as any further changes to the Realm will not be synchronized with the server and must be moved manually from the backup Realm to the new one.

    Declaration
    public ClientResetHandlerBase.ClientResetCallback OnClientReset { get; }
    Property Value
    Type Description
    ClientResetHandlerBase.ClientResetCallback

    Callback invoked on Client Reset.

    See Also

    Client Resets - .NET SDK
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2020 Realm
    Generated by DocFX