共用方式為


ValidationRuleViolationSeverity Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the severity values of packaging rule violations.

Namespace:  Microsoft.VisualStudio.SharePoint.Validation
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Enumeration ValidationRuleViolationSeverity
public enum ValidationRuleViolationSeverity

Members

Member name Description
Error Represents a severe rule violation that may prevent a package from being created. This violation must be fixed by the user.
Information Represents an informative message to display to the user, but does not indicate a semantic or physical issue with the package.
Warning Represents a warning rule violation that may result in package deployment errors on a SharePoint server, but does not prevent a package from being created. This violation may be ignored by the user.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Validation Namespace