Unsubscribe<TMessage> Method (TinyMessengerHub)
Unsubscribe from a particular message type.
Does not throw an exception if the subscription is not found.
Syntax
public void Unsubscribe<TMessage>( TinyMessageSubscriptionToken subscriptionToken ) where TMessage: class, ITinyMessage
Parameters
- subscriptionToken
- Subscription token received from Subscribe
Type Parameters
- TMessage
- Type of message
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also