Class MessageProcessStatus
Status returned after processing messages from the IMessageHandler<T>. The status informs the IMessageManager what should be done with the message after the message has been attempted to be processed.
For example using the Success() would tell the IMessageManager to delete the message from the underlying service like SQS.
public sealed class MessageProcessStatus
- Inheritance
-
MessageProcessStatus
Properties
IsFailed
Returns true if the status is failed.
public bool IsFailed { get; }
Property Value
IsSuccess
Returns true if the status is success.
public bool IsSuccess { get; }
Property Value
Methods
Failed()
Creates a failed status return
public static MessageProcessStatus Failed()
Returns
Success()
Creates a success status return
public static MessageProcessStatus Success()