MessageBusSubscriber MethodsDH.Messaging Documentation

[This is preliminary documentation and is subject to change.]

The MessageBusSubscriber type exposes the following members.
Methods

  NameDescription
Public methodClearMessages T 
Clear the messages in the message queue for the subscription matching the supplied type
Public methodEnableSubscriptions
Un-suspend the subscriber if it is suspended. All subscriptions under this subscriber will also be activated.
Public methodGetSubscriberItem T  
Gets the subscription object associated
Public methodGetSubscriberItem T (Boolean)
Get the subscription of the specified type
Public methodSubcribe T 
Subscribe to messages with the given message key and type
Public methodSuspendSubscriptions
Suspend the current subscriber. All subscriptions will be deactivated and will no longer receive messages unless EnableSubscription is called or they are manually activated.
Public methodUnsubscribe T 
Unsubscribe from messages with the supplied key and matching the message type of this subscriber.
Public methodUnsubscribeFromAllKeys T 
Unsubscribe this message type from all message keys
Back to Top
See Also