Interface IErrorPolicy
An error policy is used to handle errors that may occur while processing the inbound messages.
Namespace: Silverback.Messaging.Inbound.ErrorHandling
Assembly: Silverback.Integration.dll
Syntax
public interface IErrorPolicy
Methods
| Improve this doc View sourceBuild(IServiceProvider)
Returns the actual error policy implementation, built using the provided IServiceProvider.
Declaration
IErrorPolicyImplementation Build(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The IServiceProvider to be used to build the error policy. |
Returns
Type | Description |
---|---|
IErrorPolicyImplementation | An instance of IErrorPolicyImplementation that can be used to handle the processing error. |