Sdílet prostřednictvím


prjWarningLevel Enum

Definition

Used by the WarningLevel property to indicate the types of warnings displayed during compilation.

public enum class prjWarningLevel
public enum class prjWarningLevel
enum prjWarningLevel
[System.Runtime.InteropServices.Guid("31DDDF62-1891-4870-8DF5-00D9028826DF")]
public enum prjWarningLevel
[<System.Runtime.InteropServices.Guid("31DDDF62-1891-4870-8DF5-00D9028826DF")>]
type prjWarningLevel = 
Public Enum prjWarningLevel
Inheritance
prjWarningLevel
Attributes

Fields

Name Value Description
prjWarningLevel0 0

Turns off emission of all warning messages.

prjWarningLevel1 1

Displays severe warning messages.

prjWarningLevel2 2

C# only. Displays level 1 warnings plus certain less-severe warnings, such as warnings about hiding class members.

prjWarningLevel3 3

C# only. Displays level 2 warnings plus certain less-severe warnings, such as warnings about expressions that always evaluate to true or false.

prjWarningLevel4 4

C# only. Displays all level 3 warnings plus informational warnings. This is the default warning level at the command line.

Applies to