MessagingCapabilities class Null safety

Data object that contains supported capabilities of a message queue. If certain capability is not supported a queue will throw NotImplemented exception.

Constructors

MessagingCapabilities(bool canMessageCount, bool canSend, bool canReceive, bool canPeek, bool canPeekBatch, bool canRenewLock, bool canAbandon, bool canDeadLetter, bool canClear)
Creates a new instance of the capabilities object. [...]

Properties

canAbandon bool
Informs if the queue is able to abandon messages. [...]
read-only
canClear bool
Informs if the queue can be cleared. [...]
read-only
canDeadLetter bool
Informs if the queue is able to send messages to dead letter queue. [...]
read-only
canMessageCount bool
Informs if the queue is able to read number of messages. [...]
read-only
canPeek bool
Informs if the queue is able to peek messages. [...]
read-only
canPeekBatch bool
Informs if the queue is able to peek multiple messages in one batch. [...]
read-only
canReceive bool
Informs if the queue is able to receive messages. [...]
read-only
canRenewLock bool
Informs if the queue is able to renew message lock. [...]
read-only
canSend bool
Informs if the queue is able to send messages. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited