ContainsSubscriber<T> Method (IEventAggregator)
Check if there is any subscriber for the message
Syntax
bool ContainsSubscriber<T>( T message ) where T: IApplicationParam
bool ContainsSubscribergeneric<typename T> ( T^ message ) where T: IApplicationParam
Parameters
- message
- subscribed message
Type Parameters
- T
- Generic type parameter
Return Value
true if any subscriber found otherwise, false.
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