Class ReceiveContext
Provides the context of a receive request. It is created by a message source to track the delivery of an outgoing 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 ReceiveContext : Context
Constructors
ReceiveContext(ListenerLink, Message)
Initializes a ReceiveContext object.
Declaration
public ReceiveContext(ListenerLink link, Message message)
Parameters
Type | Name | Description |
---|---|---|
ListenerLink | link | The listener link to send out the message. |
Message | message | The message to send out. |
Properties
UserToken
Gets or sets an object that is associated with the receive context.
Declaration
public object UserToken { get; set; }
Property Value
Type | Description |
---|---|
System.Object |