Click or drag to resize

MessageChannelRegisterTopicT Method (String, ActionT)

Registers a method that takes a parameter for a given topic.

Namespace:  Openfin.Desktop.Messaging
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.0
Syntax
C#
public void RegisterTopic<T>(
	string topic,
	Action<T> listener
)

Parameters

topic
Type: SystemString
The name of the registered topic.
listener
Type: SystemActionT
An encapsulated method to execute for the registered method.

Type Parameters

T
The payload type passed to the registered method.
See Also