1. IScriptsClient

Interface IScriptsClient

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Contains functionality to execute scripts.

Namespace: Stylelabs.M.Sdk.Clients
Assembly: Stylelabs.M.Sdk.dll
Syntax
public interface IScriptsClient

Methods

ExecuteActionScriptAsync(String, JToken)

Executes specified action script.

Declaration
Task<JToken> ExecuteActionScriptAsync(string identifier, JToken arguments = null)
Parameters
TypeNameDescription
System.Stringidentifier

The identifier of the script.

JTokenarguments

The arguments to pass to the script.

Returns
TypeDescription
Task<JToken>

The result of the script. If the script didn't set a result, null is returned.

Exceptions
TypeCondition
NotFoundException

The script with the specified identifier could not be found.

ScriptException

Something went wrong during the execution of the script.

この記事を改善するための提案がある場合は、 お知らせください!