Table of Contents

Interface IErrorPolicy

Namespace
Silverback.Messaging.Consuming.ErrorHandling
Assembly
Silverback.Integration.dll

An error policy is used to handle errors that may occur while processing the inbound messages.

public interface IErrorPolicy

Methods

Build(IServiceProvider)

Returns the actual error policy implementation, built using the provided IServiceProvider.

IErrorPolicyImplementation Build(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

The IServiceProvider to be used to build the error policy.

Returns

IErrorPolicyImplementation

An instance of IErrorPolicyImplementation that can be used to handle the processing error.