.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    Terminated Method

    Terminated(Action<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs>)

    Sets the handler which runs after the subscription is terminated and no further event will be raised.

    Declaration
    public ReliableTopicEventHandlers<T> Terminated(Action<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs> handler)
    Parameters
    Action<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs> handler

    The handler.

    Returns
    ReliableTopicEventHandlers<T>
    Remarks

    The Terminated event is raised when the subscription terminates, either because of a non-canceled exception Exception(Action<IHReliableTopic<T>, ReliableTopicExceptionEventArgs>), or when anything goes wrong with the underlying buffer (overload, loss...), or when it is actively terminated by e.g. disposing the reliable topic instance.

    Terminated(Func<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs, ValueTask>)

    Sets the handler which runs after the subscription is terminated and no further event will be raised.

    Declaration
    public ReliableTopicEventHandlers<T> Terminated(Func<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs, ValueTask> handler)
    Parameters
    Func<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs, ValueTask> handler

    The handler.

    Returns
    ReliableTopicEventHandlers<T>
    Remarks

    The Terminated event is raised when the subscription terminates, either because of a non-canceled exception Exception(Action<IHReliableTopic<T>, ReliableTopicExceptionEventArgs>), or when anything goes wrong with the underlying buffer (overload, loss...), or when it is actively terminated by e.g. disposing the reliable topic instance.

    In this article
    • Terminated(Action<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs>)
    • Terminated(Func<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs, ValueTask>)
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.