Class MessageExceptionHandlerAttribute
Attribute for handling exceptions thrown from message-handling methods within a specific handler class.
Inheritance
System.Object
MessageExceptionHandlerAttribute
Namespace: Steeltoe.Messaging.Handler.Attributes
Assembly: Steeltoe.Messaging.Abstractions.dll
Syntax
public class MessageExceptionHandlerAttribute : Attribute
Constructors
| Edit this page View SourceMessageExceptionHandlerAttribute(Type[])
Initializes a new instance of the MessageExceptionHandlerAttribute class.
Declaration
public MessageExceptionHandlerAttribute(params Type[] exceptions)
Parameters
Type | Name | Description |
---|---|---|
Type[] | exceptions | the exceptions handled by this method |
Properties
| Edit this page View SourceExceptions
Gets the exceptions handled by this method
Declaration
public virtual Type[] Exceptions { get; }
Property Value
Type | Description |
---|---|
Type[] |