BuildMaster SDK Reference
Version:

ExecuteOperation Class

An operation that will execute commands and configuration against a server.

Inheritance Hierarchy

Syntax

public class ExecuteOperation : Operation, Inedo.Diagnostics.ILogger, IExecutingOperation

Constructors

Name Description
ExecuteOperation

Initializes a new instance of the ExecuteOperation class.

Properties

Name Description
Complete

Gets a completed System.Threading.Tasks.Task which can be returned from the ExecuteAsync(IOperationExecutionContext context) method.

Methods

Name Description
ExecuteAsync(IOperationExecutionContext context)

Performs the operation.

ExecuteCommandLineAsync(IOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo)

Executes the specified process asychronously and writes process output to the operation's log.

LogProcessError(string text)

Invoked when process error data is received after calling ExecuteCommandLine.

LogProcessOutput(string text)

Invoked when process output data is received after calling ExecuteCommandLine.