Class ExceptionSpecification
- Namespace
- MassTransit.Configuration
- Assembly
- MassTransit.Abstractions.dll
public abstract class ExceptionSpecification : IExceptionConfigurator
- Inheritance
-
ExceptionSpecification
- Implements
-
- Inherited Members
-
Constructors
ExceptionSpecification()
protected ExceptionSpecification()
Properties
Filter
protected IExceptionFilter Filter { get; }
Property Value
- IExceptionFilter
Methods
Handle(params Type[])
public void Handle(params Type[] exceptionTypes)
Parameters
exceptionTypes
Type[]
Handle<T>()
public void Handle<T>() where T : Exception
Type Parameters
T
Handle<T>(Func<T, bool>)
public void Handle<T>(Func<T, bool> filter) where T : Exception
Parameters
filter
Func<T, bool>
Type Parameters
T
Ignore(params Type[])
public void Ignore(params Type[] exceptionTypes)
Parameters
exceptionTypes
Type[]
Ignore<T>()
public void Ignore<T>() where T : Exception
Type Parameters
T
Ignore<T>(Func<T, bool>)
public void Ignore<T>(Func<T, bool> filter) where T : Exception
Parameters
filter
Func<T, bool>
Type Parameters
T