Acrux.Threading
NotificationManager Class
NamespacesAcrux.Threading.NotificationsNotificationManager
Provides thread safe, cross-thread subscription based Notification System.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class NotificationManager
Public NotInheritable Class NotificationManager
public ref class NotificationManager sealed
Members
All MembersMethodsProperties



IconMemberDescription
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsSubscribed(Object)
Returns "true" if the receiver is subscribed to receive any notification messages

MaxDiscardTimeOutOnRetry
The maximum time messages scheduled for retry will stay in the queue of the Notification System.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MessagePumpingThreadId
The managed thread id of the message pumping thread of the Notification System. This thread will be created only if any of the control notification receivers have specified DeliverPolicyWhenControlIsHidden.CreateHWNDAndRetryImmediately and the HWND of the control hasn't been created yet when a message is to be sent to it. In this case the Notification System creates the HWND and it's associated message pump will leave in this thread. All controls that have their HWND created by the Notification System share the same message pumping thread.

PostMessage(Object, Byte, Object, Object)
Posts a message to all subscribers of the sender type.

PostMessage(Object, Byte, Object, Object, Boolean)
Posts a message to all subscribers of the sender type and allows the senders to overwrite undelivered messages.

Subscribe(Object, Type)
Subscribes the receiver to receive nofitication messages from the given sender type. The receiver must implement the INotificationReciever interface.

Subscribe(Object, Type, Byte)
Subscribes the receiver to receive the specified notification message from the given sender type. The receiver must implement the INotificationReciever interface.

Subscribe(Object, Type, IEnumerable<(Of <(Byte>)>))
Subscribes the receiver to receive the specified notification messages from the given sender type. The receiver must implement the INotificationReciever interface.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Unsubscribe(Object)
Unsubscribes the receiver from getting any notification messages. This method can only be called from within a code in the same type as the passed receiver object type. If it is called from somewhere else an InvalidOperationException will be thrown.

Unsubscribe(Object, Type)
Unsubscribes the receiver from getting any messages from the specified sender type

Unsubscribe(Object, Type, Byte)
Unsubscribes the receiver from getting messages with the specified messageId from the specified senderType

Unsubscribe(Object, Type, IEnumerable<(Of <(Byte>)>))
Unsubscribes the receiver from getting messages with the specified messageIds from the specified senderType

WorkerThreadId
The managed thread id of the worker thread of the Notification System.

Inheritance Hierarchy
Object
NotificationManager

Assembly: Acrux.Threading (Module: Acrux.Threading) Version: 1.0.0.0 (1.0.0.35)