Click or drag to resize

InteropClientFireIntentAsyncT Method (String, JToken)

Asynchronously fires an intent using the given JSON-based context object

Namespace:  Openfin.Desktop.InteropAPI
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.1
Syntax
C#
public Task<T> FireIntentAsync<T>(
	string intentName,
	JToken context
)
where T : BaseIntentResolution

Parameters

intentName
Type: SystemString
The name of the intent
context
Type: JToken
The context object

Type Parameters

T
The type of the expected intent resolution object, e.g.IntentResolution and IntentResolutionFDC3_2

Return Value

Type: TaskT
A task resolving to the appropriate intent resolution object
Exceptions
ExceptionCondition
InvalidOperationException
See Also