Class StopConsumerErrorPolicy
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Inheritance
StopConsumerErrorPolicy
Assembly: Silverback.Integration.dll
Syntax
public record StopConsumerErrorPolicy : ErrorPolicyBase, IErrorPolicy, IEquatable<ErrorPolicyBase>, IEquatable<StopConsumerErrorPolicy>
Constructors
StopConsumerErrorPolicy(StopConsumerErrorPolicy)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
protected StopConsumerErrorPolicy(StopConsumerErrorPolicy original)
Parameters
Properties
EqualityContract
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
protected override Type EqualityContract { get; }
Property Value
Overrides
Methods
BuildCore(IServiceProvider)
Returns the actual error policy implementation, built using the provided
IServiceProvider.
Declaration
protected override ErrorPolicyImplementation BuildCore(IServiceProvider serviceProvider)
Parameters
Returns
Overrides
Equals(ErrorPolicyBase?)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public override sealed bool Equals(ErrorPolicyBase? other)
Parameters
Returns
Overrides
Equals(StopConsumerErrorPolicy?)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public virtual bool Equals(StopConsumerErrorPolicy? other)
Parameters
Returns
Equals(object?)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
Overrides
ToString()
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(StopConsumerErrorPolicy?, StopConsumerErrorPolicy?)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public static bool operator ==(StopConsumerErrorPolicy? left, StopConsumerErrorPolicy? right)
Parameters
Returns
operator !=(StopConsumerErrorPolicy?, StopConsumerErrorPolicy?)
This is the default policy and it stops the consumer when an exception is thrown during the
message processing.
Declaration
public static bool operator !=(StopConsumerErrorPolicy? left, StopConsumerErrorPolicy? right)
Parameters
Returns
Implements