Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 869 Bytes

File metadata and controls

30 lines (20 loc) · 869 Bytes

IRuntimeService.ExecutePreviewAction method

Executes a preview action

public JsonElement? ExecutePreviewAction(string actionName, IDictionary<string, string> parameters)
parameter description
actionName Name of the action. Must start with with "preview_".
parameters Parameter keys and values.

Return Value

The JSON that the preview action returned.

Exceptions

exception condition
ArgumentException Thrown when actionName does not start with "preview_".
InvalidOperationException When the current app is not running locally.

See Also