Acrux.Threading
Unsubscribe Method (receiver)
NamespacesAcrux.Threading.NotificationsNotificationManagerUnsubscribe(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.
Declaration Syntax
C#Visual BasicVisual C++
public static bool Unsubscribe(
	Object receiver
)
Public Shared Function Unsubscribe ( _
	receiver As Object _
) As Boolean
public:
static bool Unsubscribe(
	Object^ receiver
)
Parameters
receiver (Object)
The receiver object instance
Return Value
If the receiver has been subscribed to any messages the function returns true. Otherwise it returns false.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the receiver is null.
InvalidOperationExceptionThrown if the type of the receiver doesn't match the type of the object making the call.

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