Class SkipMessageErrorPolicy
This policy skips the message that failed to be processed.
Implements
Inherited Members
Namespace: Silverback.Messaging.Inbound.ErrorHandling
Assembly: Silverback.Integration.dll
Syntax
public class SkipMessageErrorPolicy : ErrorPolicyBase, IErrorPolicy
Methods
| Improve this doc View sourceBuildCore(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. |