Search Results for

    Show / Hide Table of Contents

    Class DirectiveExtensions

    This class contains extension methods used for working with directives.

    Inheritance
    object
    DirectiveExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public static class DirectiveExtensions

    Methods

    | Edit this page View Source

    When<TException>(Directive)

    Maps the specified self to use when a specified type of exception occurs.

    Declaration
    public static KeyValuePair<Type, Directive> When<TException>(this Directive self) where TException : Exception
    Parameters
    Type Name Description
    Directive self

    The directive used when the exception occurs.

    Returns
    Type Description
    KeyValuePair<Type, Directive>

    The mapping of the exception to the directive.

    Type Parameters
    Name Description
    TException

    The type of exception being mapped.

    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