Acrux.Threading
Subscribe Method (receiver, senderType)
NamespacesAcrux.Threading.NotificationsNotificationManagerSubscribe(Object, Type)
Subscribes the receiver to receive nofitication messages from the given sender type. The receiver must implement the INotificationReciever interface.
Declaration Syntax
C#Visual BasicVisual C++
public static void Subscribe(
	Object receiver,
	Type senderType
)
Public Shared Sub Subscribe ( _
	receiver As Object, _
	senderType As Type _
)
public:
static void Subscribe(
	Object^ receiver, 
	Type^ senderType
)
Parameters
receiver (Object)
The receiver object instance
senderType (Type)
The sender type the receiver wants to subscribe to
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the receiver or the senderType is null.

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