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.4.0
Syntax 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:
TaskTResultThe task object representing the asynchronous operation.
See Also