Class StopConsumerErrorPolicy
This is the default policy and it stops the consumer when an exception is thrown during the message processing.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Inbound.ErrorHandling
Assembly: Silverback.Integration.dll
Syntax
public class StopConsumerErrorPolicy : ErrorPolicyBase, IErrorPolicy
Methods
| Improve this doc View sourceBuildCore(IServiceProvider)
Returns the actual error policy implementation, built using the provided System.IServiceProvider.
Declaration
protected override ErrorPolicyImplementation BuildCore(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider | The System.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. |