Click or drag to resize

ChannelProviderRegisterTopicTResult Method (String, FuncChannelClient, TResult)

Registers a method that returns a value for a given topic.

Namespace:  Openfin.Desktop.Messaging
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public void RegisterTopic<TResult>(
	string topic,
	Func<ChannelClient, TResult> listener
)

Parameters

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

Type Parameters

TResult
The return type of the registered method.
See Also