Acrux.Threading
Subscribe Method (receiver, senderType, messageId)
NamespacesAcrux.Threading.NotificationsNotificationManagerSubscribe(Object, Type, Byte)
Subscribes the receiver to receive the specified notification message 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,
	byte messageId
)
Public Shared Sub Subscribe ( _
	receiver As Object, _
	senderType As Type, _
	messageId As Byte _
)
public:
static void Subscribe(
	Object^ receiver, 
	Type^ senderType, 
	unsigned char messageId
)
Parameters
receiver (Object)
The receiver object instance
senderType (Type)
The sender type the receiver wants to subscribe to
messageId (Byte)
The message id the receiver wants to be subscribed for
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)