Interface IScriptsClient
Contains functionality to execute scripts.
Namespace: StylelabsStylelabs.MSdkClients
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
ExecuteActionScriptAsync(string, JToken)
Executes specified action script.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | identifier | The identifier of the script. |
| JToken | arguments | The arguments to pass to the script. |
Returns
| Type | Description |
|---|---|
| Task<>JToken | The result of the script. If the script didn't set a result, null is returned. |
Exceptions
| Type | Condition |
|---|---|
| NotFoundException | The script with the specified identifier could not be found. |
| ScriptException | Something went wrong during the execution of the script. |
If you have suggestions for improving this article, let us know!