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