Click or drag to resize

ChannelClientDispatchAsyncTResult Method (String, Object)

Dispatches a call that takes a parameter and returns a value on the registered topic to the ChannelProvider.

Namespace:  Openfin.Desktop.Messaging
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.0
Syntax
C#
public Task<TResult> DispatchAsync<TResult>(
	string topic,
	Object payload
)

Parameters

topic
Type: SystemString
The name of the registered topic.
payload
Type: SystemObject
The payload to send to the registered method.

Type Parameters

TResult
The result type of the asynchronous operation.

Return Value

Type: TaskTResult
The task object representing the asynchronous operation.
See Also