BuildMaster SDK Reference
Version:
ExecuteChangeScriptAsync(ChangeScriptId scriptId, string scriptName, string scriptText, System.Threading.CancellationToken cancellationToken) Method
When implemented by a derived class, executes the specified script provided that the
specified script has not already been executed, and returns a Boolean indicating whether
the script was skipped as a result of being executed.
Syntax
public
abstract
System.Threading.Tasks.Task ExecuteChangeScriptAsync(ChangeScriptId scriptId, string scriptName, string scriptText, System.Threading.CancellationToken cancellationToken)
Parameters
- scriptId
- Type: ChangeScriptId
BuildMaster's script identifier to be executed.
- scriptName
- Type: string
Name of the script to be executed.
- scriptText
- Type: string
Script text to be run.
- cancellationToken
- Type: System.Threading.CancellationToken
Task cancellation token.