Class MessageExceptionHandlerAttribute
- Namespace
- Steeltoe.Messaging.Handler.Attributes
- Assembly
- Steeltoe.Messaging.Abstractions.dll
Attribute for handling exceptions thrown from message-handling methods within a specific handler class.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class MessageExceptionHandlerAttribute : Attribute
- Inheritance
-
MessageExceptionHandlerAttribute
- Inherited Members
Constructors
MessageExceptionHandlerAttribute(params Type[])
Initializes a new instance of the MessageExceptionHandlerAttribute class.
public MessageExceptionHandlerAttribute(params Type[] exceptions)
Parameters
exceptions
Type[]the exceptions handled by this method
Properties
Exceptions
Gets the exceptions handled by this method
public virtual Type[] Exceptions { get; }
Property Value
- Type[]