Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IApplicationShutdownRegistry

    Provides a registry for objects that need to be notified during application shutdown.

    Namespace: Umbraco.Cms.Core.Hosting
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IApplicationShutdownRegistry
    Remarks

    Registered objects receive callbacks when the application is stopping, allowing them to perform cleanup operations before the application terminates.

    Methods

    View Source

    RegisterObject(IRegisteredObject)

    Registers an object to receive shutdown notifications.

    Declaration
    void RegisterObject(IRegisteredObject registeredObject)
    Parameters
    Type Name Description
    IRegisteredObject registeredObject

    The object to register for shutdown notifications.

    View Source

    UnregisterObject(IRegisteredObject)

    Unregisters an object from receiving shutdown notifications.

    Declaration
    void UnregisterObject(IRegisteredObject registeredObject)
    Parameters
    Type Name Description
    IRegisteredObject registeredObject

    The object to unregister.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX