Table of Contents

Interface IRetryPolicy

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

A retry policy determines how exceptions are handled, and whether or not the remaining filters should be retried

public interface IRetryPolicy : IProbeSite
Inherited Members

Methods

CreatePolicyContext<T>(T)

Creates a retry policy context for the retry, which initiates the exception tracking

RetryPolicyContext<T> CreatePolicyContext<T>(T context) where T : class, PipeContext

Parameters

context T

Returns

RetryPolicyContext<T>

Type Parameters

T

IsHandled(Exception)

If the retry policy handles the exception, should return true

bool IsHandled(Exception exception)

Parameters

exception Exception

Returns

bool