Table of Contents

Class MessageProcessStatus

Namespace
AWS.Messaging
Assembly
AWS.Messaging.dll

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

bool

IsSuccess

Returns true if the status is success.

public bool IsSuccess { get; }

Property Value

bool

Methods

Failed()

Creates a failed status return

public static MessageProcessStatus Failed()

Returns

MessageProcessStatus

Success()

Creates a success status return

public static MessageProcessStatus Success()

Returns

MessageProcessStatus