Class Context
The base class of request context.
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 abstract class ContextConstructors
Context(ListenerLink, Message)
Initializes a context object.
Declaration
protected Context(ListenerLink link, Message message)Parameters
| Type | Name | Description | 
|---|---|---|
| ListenerLink | link | The link where the message was received. | 
| Message | message | The received message. | 
Properties
Link
Gets the receiving link associated with the context.
Declaration
public ListenerLink Link { get; }Property Value
| Type | Description | 
|---|---|
| ListenerLink | 
Message
Gets the messages associated with the context.
Declaration
public Message Message { get; }Property Value
| Type | Description | 
|---|---|
| Message | 
State
Gets the state of the context.
Declaration
public ContextState State { get; }Property Value
| Type | Description | 
|---|---|
| ContextState | 
Methods
Dispose(DeliveryState)
Disposes the request. If required, a disposition frame is sent to the peer to acknowledge the message.
Declaration
protected void Dispose(DeliveryState deliveryState)Parameters
| Type | Name | Description | 
|---|---|---|
| DeliveryState | deliveryState | The delivery state to send. |