共用方式為


SarifVersion Enum

Definition

Specifies the version of the SARIF log file to produce.

public enum SarifVersion
type SarifVersion = 
Public Enum SarifVersion
Inheritance
SarifVersion

Fields

Name Value Description
Default 1

The default SARIF version, which is v1.0.0 for compatibility with previous versions of the compiler.

Sarif1 1

The original, non-standardized version of the SARIF format.

Sarif2 2

The first standardized version of the SARIF format.

Latest 2147483647

The latest supported SARIF version.

Applies to