Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class QueueMessage<T>

    Represents a message in a queue with a specified body type.

    Inheritance
    object
    QueueMessage<T>
    Implements
    IQueueMessage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Cloud.Queue
    Assembly: Innovt.Cloud.dll
    Syntax
    public class QueueMessage<T> : IQueueMessage
    Type Parameters
    Name Description
    T

    The type of the message body.

    Constructors

    | Edit this page View Source

    QueueMessage()

    Initializes a new instance of the QueueMessage<T> class.

    Declaration
    public QueueMessage()
    | Edit this page View Source

    QueueMessage(Dictionary<string, string>)

    Initializes a new instance of the QueueMessage<T> class with specified attributes.

    Declaration
    public QueueMessage(Dictionary<string, string> attributes)
    Parameters
    Type Name Description
    Dictionary<string, string> attributes

    The attributes associated with the message.

    | Edit this page View Source

    QueueMessage(T)

    Initializes a new instance of the QueueMessage<T> class with a specified body.

    Declaration
    public QueueMessage(T body)
    Parameters
    Type Name Description
    T body

    The body of the message.

    Properties

    | Edit this page View Source

    ApproximateFirstReceiveTimestamp

    Gets or sets the approximate timestamp when the message was first received.

    Declaration
    public double? ApproximateFirstReceiveTimestamp { get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    ApproximateReceiveCount

    Gets or sets the approximate number of times the message has been received.

    Declaration
    public int? ApproximateReceiveCount { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Attributes

    Gets or sets the attributes associated with the message in the form of key-value pairs.

    Declaration
    public Dictionary<string, string> Attributes { get; set; }
    Property Value
    Type Description
    Dictionary<string, string>
    | Edit this page View Source

    Body

    Gets or sets the body of the message.

    Declaration
    public T Body { get; set; }
    Property Value
    Type Description
    T
    | Edit this page View Source

    MessageId

    Gets or sets the ID associated with the message.

    Declaration
    public string MessageId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ReceiptHandle

    Gets or sets the receipt handle for the message.

    Declaration
    public string ReceiptHandle { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TraceId

    Gets or sets the trace ID associated with the message.

    Declaration
    public string TraceId { get; set; }
    Property Value
    Type Description
    string

    Implements

    IQueueMessage

    Extension Methods

    QueueExtensions.ParseQueueAttributes(IQueueMessage, Dictionary<string, string>)
    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX