BuildProcessReportError Method
This is used to report an error that will abort the build
Namespace: SandcastleBuilder.Utils.BuildEngineAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public void ReportError(
BuildStep step,
string errorCode,
string message,
params Object[] args
)
Public Sub ReportError (
step As BuildStep,
errorCode As String,
message As String,
ParamArray args As Object()
)
public:
void ReportError(
BuildStep step,
String^ errorCode,
String^ message,
... array<Object^>^ args
)
member ReportError :
step : BuildStep *
errorCode : string *
message : string *
args : Object[] -> unit
Parameters
- step BuildStep
- The current build step
- errorCode String
- The error code
- message String
- The message to report
- args Object
- A list of arguments to format into the message text
This just reports the error. The caller must abort the build