IBuildEngine8.ShouldTreatWarningAsError(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the logging service will convert the specified warning code into an error.
public:
bool ShouldTreatWarningAsError(System::String ^ warningCode);
public bool ShouldTreatWarningAsError (string warningCode);
abstract member ShouldTreatWarningAsError : string -> bool
Public Function ShouldTreatWarningAsError (warningCode As String) As Boolean
Parameters
- warningCode
- String
The warning code to check.
Returns
A boolean to determine whether the warning should be treated as an error.