MessageQueue class | QSYS API Reference Guide

Holds a group of messages in a queue.

Namespace: ASNA.QSys.Runtime.JobSupport Assembly: ASNA.QSys.Runtime.dll

Inheritance: Object

Constructors

Name Description
MessageQueue() Initializes a new, empty instance of the MessageQueue class.

MessageQueue()

Initializes a new, empty instance of the MessageQueue class.

MessageQueue()

Methods

Signature Description
Clear() Removes all elements from the MessageList.
Dequeue(Message) Removes the message from the queue.
GetEnumerator() Returns an IEnumerator that iterates through the MessageQueue.
Queue(Message) Enqueues a message at the end of the queue.

void Clear()

Removes all elements from the MessageList.

void Clear()

void Dequeue(Message message)

Removes the message from the queue.

void Dequeue(Message message)

Parameters

Type Parameter name Description
Message message The message to be dequeued.

IEnumerator GetEnumerator()

Returns an IEnumerator that iterates through the MessageQueue.

IEnumerator GetEnumerator()

void Queue(Message message)

Enqueues a message at the end of the queue.

void Queue(Message message)

Parameters

Type Parameter name Description
Message message The message to be added.