Show / Hide Table of Contents

    Class ErrorPolicyChain

    A chain of error policies to be sequentially applied.

    Inheritance
    object
    ErrorPolicyChain
    Implements
    IErrorPolicy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Inbound.ErrorHandling
    Assembly: Silverback.Integration.dll
    Syntax
    public class ErrorPolicyChain : IErrorPolicy

    Constructors

    | Improve this doc View source

    ErrorPolicyChain(params ErrorPolicyBase[])

    Initializes a new instance of the ErrorPolicyChain class.

    Declaration
    public ErrorPolicyChain(params ErrorPolicyBase[] policies)
    Parameters
    Type Name Description
    ErrorPolicyBase[] policies

    The policies to be chained.

    | Improve this doc View source

    ErrorPolicyChain(IEnumerable<ErrorPolicyBase>)

    Initializes a new instance of the ErrorPolicyChain class.

    Declaration
    public ErrorPolicyChain(IEnumerable<ErrorPolicyBase> policies)
    Parameters
    Type Name Description
    IEnumerable<ErrorPolicyBase> policies

    The policies to be chained.

    Methods

    | Improve this doc View source

    Build(IServiceProvider)

    Returns the actual error policy implementation, built using the provided IServiceProvider.

    Declaration
    public IErrorPolicyImplementation Build(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The IServiceProvider to be used to build the error policy.

    Returns
    Type Description
    IErrorPolicyImplementation

    An instance of IErrorPolicyImplementation that can be used to handle the processing error.

    Implements

    IErrorPolicy
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini