BuildMaster SDK Reference
Version:

RemoteExecuteOperation Class

An operation that executes remotely on a server.

Inheritance Hierarchy

Syntax

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

Constructors

Name Description
RemoteExecuteOperation

Initializes a new instance of the RemoteExecuteOperation 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
AfterRemoteExecuteAsync(object result)

Invoked on the BuildMaster server after RemoteExecuteAsync(IRemoteOperationExecutionContext context) is called remotely.

BeforeRemoteExecuteAsync(IOperationExecutionContext context)

Invoked on the BuildMaster server before RemoteExecuteAsync(IRemoteOperationExecutionContext context) is called remotely.

ExecuteAsync(IOperationExecutionContext context)

Executes the operation.

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

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

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

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

RemoteExecuteAsync(IRemoteOperationExecutionContext context)

Executes the operation. This method is called on the remote server.