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 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:
TaskTA task resolving to the appropriate intent resolution object
Exceptions Exception | Condition |
---|
InvalidOperationException | |
See Also