Class MessageContext
Provides the context to a message processor to process the received message.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp.Listener
Assembly: Amqp.Net.dll
Syntax
public class MessageContext : Context
Properties
DeliveryState
Gets the delivery state associated with the message.
Declaration
public DeliveryState DeliveryState { get; }
Property Value
Type | Description |
---|---|
DeliveryState |
Methods
Complete()
Accepts the message.
Declaration
public void Complete()
Complete(Error)
Rejects the message.
Declaration
public void Complete(Error error)
Parameters
Type | Name | Description |
---|---|---|
Error | error |