Search Results for

    Show / Hide Table of Contents

    Class OpenCircuitException

    This exception is thrown when the CircuitBreaker is open.

    Inheritance
    object
    Exception
    AkkaException
    OpenCircuitException
    Implements
    ISerializable
    Inherited Members
    AkkaException.Cause
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Pattern
    Assembly: Akka.dll
    Syntax
    public class OpenCircuitException : AkkaException, ISerializable

    Constructors

    | Edit this page View Source

    OpenCircuitException()

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    public OpenCircuitException()
    | Edit this page View Source

    OpenCircuitException(Exception)

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    public OpenCircuitException(Exception cause)
    Parameters
    Type Name Description
    Exception cause

    The exception that is the cause of the current exception.

    | Edit this page View Source

    OpenCircuitException(Exception, TimeSpan)

    Initializes a new instance of the OpenCircuitException class.

    The exception that is the cause of the current exception. Stores remaining time before attempting a reset. Zero duration means the breaker is currently in half-open state
    Declaration
    public OpenCircuitException(Exception cause, TimeSpan remainingDuration)
    Parameters
    Type Name Description
    Exception cause
    TimeSpan remainingDuration
    | Edit this page View Source

    OpenCircuitException(SerializationInfo, StreamingContext)

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    protected OpenCircuitException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    | Edit this page View Source

    OpenCircuitException(string)

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    public OpenCircuitException(string message)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    | Edit this page View Source

    OpenCircuitException(string, Exception)

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    public OpenCircuitException(string message, Exception cause)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    Exception cause

    The exception that is the cause of the current exception.

    | Edit this page View Source

    OpenCircuitException(string, Exception, TimeSpan)

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    public OpenCircuitException(string message, Exception cause, TimeSpan remainingDuration)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    Exception cause

    The exception that is the cause of the current exception.

    TimeSpan remainingDuration

    Stores remaining time before attempting a reset. Zero duration means the breaker is currently in half-open state

    | Edit this page View Source

    OpenCircuitException(string, TimeSpan)

    Initializes a new instance of the OpenCircuitException class.

    Declaration
    public OpenCircuitException(string message, TimeSpan remainingDuration)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    TimeSpan remainingDuration

    Stores remaining time before attempting a reset. Zero duration means the breaker is currently in half-open state

    Properties

    | Edit this page View Source

    RemainingDuration

    Declaration
    public TimeSpan RemainingDuration { get; }
    Property Value
    Type Description
    TimeSpan

    Methods

    | Edit this page View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context
    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)

    Implements

    ISerializable

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET