Show / Hide Table of Contents

    Class SkipMessageErrorPolicy

    This policy skips the message that failed to be processed.

    Inheritance
    object
    ErrorPolicyBase
    SkipMessageErrorPolicy
    Implements
    IErrorPolicy
    IEquatable<ErrorPolicyBase>
    IEquatable<SkipMessageErrorPolicy>
    Inherited Members
    ErrorPolicyBase.Build(IServiceProvider)
    ErrorPolicyBase.ExcludedExceptions
    ErrorPolicyBase.IncludedExceptions
    ErrorPolicyBase.MaxFailedAttempts
    ErrorPolicyBase.ApplyRule
    ErrorPolicyBase.MessageToPublishFactory
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Consuming.ErrorHandling
    Assembly: Silverback.Integration.dll
    Syntax
    public record SkipMessageErrorPolicy : ErrorPolicyBase, IErrorPolicy, IEquatable<ErrorPolicyBase>, IEquatable<SkipMessageErrorPolicy>

    Constructors

    SkipMessageErrorPolicy(SkipMessageErrorPolicy)

    This policy skips the message that failed to be processed.

    Declaration
    protected SkipMessageErrorPolicy(SkipMessageErrorPolicy original)
    Parameters
    Type Name Description
    SkipMessageErrorPolicy original

    Properties

    EqualityContract

    This policy skips the message that failed to be processed.

    Declaration
    protected override Type EqualityContract { get; }
    Property Value
    Type Description
    Type
    Overrides
    ErrorPolicyBase.EqualityContract

    Methods

    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)

    Equals(ErrorPolicyBase?)

    This policy skips the message that failed to be processed.

    Declaration
    public override sealed bool Equals(ErrorPolicyBase? other)
    Parameters
    Type Name Description
    ErrorPolicyBase other
    Returns
    Type Description
    bool
    Overrides
    ErrorPolicyBase.Equals(ErrorPolicyBase?)

    Equals(SkipMessageErrorPolicy?)

    This policy skips the message that failed to be processed.

    Declaration
    public virtual bool Equals(SkipMessageErrorPolicy? other)
    Parameters
    Type Name Description
    SkipMessageErrorPolicy other
    Returns
    Type Description
    bool

    Equals(object?)

    This policy skips the message that failed to be processed.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ErrorPolicyBase.Equals(object?)

    GetHashCode()

    This policy skips the message that failed to be processed.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ErrorPolicyBase.GetHashCode()

    PrintMembers(StringBuilder)

    This policy skips the message that failed to be processed.

    Declaration
    protected override bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool
    Overrides
    ErrorPolicyBase.PrintMembers(StringBuilder)

    ToString()

    This policy skips the message that failed to be processed.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ErrorPolicyBase.ToString()

    Operators

    operator ==(SkipMessageErrorPolicy?, SkipMessageErrorPolicy?)

    This policy skips the message that failed to be processed.

    Declaration
    public static bool operator ==(SkipMessageErrorPolicy? left, SkipMessageErrorPolicy? right)
    Parameters
    Type Name Description
    SkipMessageErrorPolicy left
    SkipMessageErrorPolicy right
    Returns
    Type Description
    bool

    operator !=(SkipMessageErrorPolicy?, SkipMessageErrorPolicy?)

    This policy skips the message that failed to be processed.

    Declaration
    public static bool operator !=(SkipMessageErrorPolicy? left, SkipMessageErrorPolicy? right)
    Parameters
    Type Name Description
    SkipMessageErrorPolicy left
    SkipMessageErrorPolicy right
    Returns
    Type Description
    bool

    Implements

    IErrorPolicy
    IEquatable<T>
    IEquatable<T>
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini