Otter SDK Reference
Version:

SetVariable(Inedo.ExecutionEngine.RuntimeVariableName name, string value) Method

Sets the value of the specified variable.

Syntax

public abstract void SetVariable(Inedo.ExecutionEngine.RuntimeVariableName name, string value)

Parameters

name
Type: Inedo.ExecutionEngine.RuntimeVariableName

The name of the variable.

value
Type: string

The value to assign to the variable.

Exceptions

System.InvalidOperationException

The raft is read only.