Acrux.Threading
Unsubscribe Method (receiver, senderType)
NamespacesAcrux.Threading.NotificationsNotificationManagerUnsubscribe(Object, Type)
Unsubscribes the receiver from getting any messages from the specified sender type
Declaration Syntax
C#Visual BasicVisual C++
public static bool Unsubscribe(
	Object receiver,
	Type senderType
)
Public Shared Function Unsubscribe ( _
	receiver As Object, _
	senderType As Type _
) As Boolean
public:
static bool Unsubscribe(
	Object^ receiver, 
	Type^ senderType
)
Parameters
receiver (Object)
The receiver object instance
senderType (Type)
The sender type the receiver wants to unsubscribe from
Return Value
If the receiver has been subscribed to any of the specified 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)