Allows the implementation of a services that executes scripts.
Orchestrates and executes the specified collection of scripts.
public Void ExecuteScripts(scripts, cancellationToken)
Name | Type | Summary |
---|---|---|
scripts | Dictionary<String, ItemProcessFlag> | A list of Scripts to be executed on one connection. |
cancellationToken | CancellationToken | A cancellation token to abort the process. |
Type | Summary |
---|---|
InvalidOperationException | Thrown when there are scripts with different connection names. -or- When the required connection is opened. |
Orchestrates and executes the specified collection of scripts.
public Task ExecuteScriptsAsync(scripts, cancellationToken)
Name | Type | Summary |
---|---|---|
scripts | Dictionary<String, ItemProcessFlag> | A list of Scripts to be executed on one connection. |
cancellationToken | CancellationToken | A cancellation token to abort the process. |
Type | Summary |
---|---|
InvalidOperationException | Thrown when there are scripts with different connection names. -or- When the required connection is opened. |
In this document