共用方式為


IBuildEngine8.ShouldTreatWarningAsError(String) Method

Definition

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.

Applies to