MessageBroker Subscribe T Method | Glimpse API Documentation |
Subscribes the specified action to the Type specified.
Namespace: Glimpse.Core.ExtensibilityAssembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)
Syntax
Parameters
- action
- Type: System Action T
The action.
Type Parameters
- T
- Type of the message
Return Value
A subscription Id, which should be retained in order to unsubscribe.Implements
IMessageBroker Subscribe T (Action T )Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Throws an exception if action is null. |
See Also