Show / Hide Table of Contents

    Class SkipMessageErrorPolicy

    This policy skips the message that failed to be processed.

    Inheritance
    object
    ErrorPolicyBase
    SkipMessageErrorPolicy
    Implements
    IErrorPolicy
    Inherited Members
    ErrorPolicyBase.MaxFailedAttemptsCount
    ErrorPolicyBase.ExcludedExceptions
    ErrorPolicyBase.IncludedExceptions
    ErrorPolicyBase.ApplyRule
    ErrorPolicyBase.MessageToPublishFactory
    ErrorPolicyBase.ApplyTo<T>()
    ErrorPolicyBase.ApplyTo(Type)
    ErrorPolicyBase.Exclude<T>()
    ErrorPolicyBase.Exclude(Type)
    ErrorPolicyBase.ApplyWhen(Func<IRawInboundEnvelope, Exception, bool>)
    ErrorPolicyBase.Publish(Func<IRawInboundEnvelope, object>)
    ErrorPolicyBase.Publish(Func<IRawInboundEnvelope, Exception, object>)
    ErrorPolicyBase.Build(IServiceProvider)
    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 SkipMessageErrorPolicy : ErrorPolicyBase, IErrorPolicy

    Methods

    | Improve this doc View source

    BuildCore(IServiceProvider)

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

    Declaration
    protected override ErrorPolicyImplementation BuildCore(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The IServiceProvider to be used to build the error policy.

    Returns
    Type Description
    ErrorPolicyImplementation

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

    Overrides
    ErrorPolicyBase.BuildCore(IServiceProvider)

    Implements

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