BuildMaster SDK Reference
Version:

Write(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, System.IO.TextWriter writer) Method

Writes the configuration file to the specified System.IO.TextWriter.

Syntax

public bool Write(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, System.IO.TextWriter writer)

Parameters

context
Type: Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext

The context used for deployment.

writer
Type: System.IO.TextWriter

The System.IO.TextWriter to write the configuration file to.

Returns

True if configuration file was successfully written; false if there was an error.

Exceptions

System.ArgumentNullException

context is null (Nothing in Visual Basic) or writer is null (Nothing in Visual Basic).

Remarks

For details, including any errors, subscribe to the MessageLogged event before calling Write(Inedo.BuildMaster.Extensibility.IGenericBuildMasterContext context, System.IO.TextWriter writer).