Acrux.Threading
Unsubscribe Method (receiver, senderType, messageId)
NamespacesAcrux.Threading.NotificationsNotificationManagerUnsubscribe(Object, Type, Byte)
Unsubscribes the receiver from getting messages with the specified messageId from the specified senderType
Declaration Syntax
C#Visual BasicVisual C++
public static bool Unsubscribe(
	Object receiver,
	Type senderType,
	byte messageId
)
Public Shared Function Unsubscribe ( _
	receiver As Object, _
	senderType As Type, _
	messageId As Byte _
) As Boolean
public:
static bool Unsubscribe(
	Object^ receiver, 
	Type^ senderType, 
	unsigned char messageId
)
Parameters
receiver (Object)
The receiver object instance
senderType (Type)
The sender type the receiver wants to unsubscribe from
messageId (Byte)
The message id the receiver wants to unsubscribe from
Return Value
If the receiver has been subscribed to any of the specified messageId and senderType the function returns true. Otherwise it returns false.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the receiver or the senderType is null.
ArgumentExceptionThrown if the receiver is not INotificationReceiver.

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