Click or drag to resize

ChannelProviderRegisterTopicT Method (String, ActionT, ChannelClient)

Registers a method 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, ChannelClient> listener
)

Parameters

topic
Type: SystemString

[Missing <param name="topic"/> documentation for "M:Openfin.Desktop.Messaging.ChannelProvider.RegisterTopic``1(System.String,System.Action{``0,Openfin.Desktop.Messaging.ChannelClient})"]

listener
Type: SystemActionT, ChannelClient

[Missing <param name="listener"/> documentation for "M:Openfin.Desktop.Messaging.ChannelProvider.RegisterTopic``1(System.String,System.Action{``0,Openfin.Desktop.Messaging.ChannelClient})"]

Type Parameters

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