[This is preliminary documentation and is subject to change.]
The MessageSubscription T type exposes the following members.Constructors
Name | Description | |
---|---|---|
MessageSubscription T | Initializes a new instance of the MessageSubscription T class |
Methods
Name | Description | |
---|---|---|
AddMessage |
Add a message to the message queue
| |
ChangeCapacity |
Update the capacity of the message queue
| |
ClearMessages |
Clear all messages currently in the message queue for this subscription instance
(Overrides SubscriptionBase ClearMessages .) | |
GetNextMessage |
Get the next message in the message queue
|
Fields
Name | Description | |
---|---|---|
Messages |
Message queue for the current subscription
|
Properties
Name | Description | |
---|---|---|
Active |
Whether the subscription is active and should receive and process messages
(Inherited from SubscriptionBase.) | |
HasMessages |
True if there are messages in the message queue
(Overrides SubscriptionBase HasMessages.) | |
MaxMessages |
Sets the maximum number of messages for the subscription. Enforced minimum is 1.
| |
MessageCount |
Number of messages in the current message queue
| |
MessageType |
The message type handled by this subscription
(Overrides SubscriptionBase MessageType.) |
Events
Name | Description | |
---|---|---|
OnMessageReceived |
Fired when the messages are received if there are subscribers to the event.
|
See Also