Synced
BuildDiagnostic.Constructor
Section titled “BuildDiagnostic.Constructor”
- Creates an immutable build diagnostic.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build
Declaration
Section titled “Declaration”public Inno.Build.BuildDiagnostic.BuildDiagnostic(Inno.Build.BuildDiagnosticSeverity severity, string code, string message)Parameters
Section titled “Parameters”Parameter severity: The impact of the diagnostic on build success.
Parameter code: The stable diagnostic code.
Parameter message: The human-readable explanation.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when code or message is empty.