Compartir a través de


Microsoft.VisualStudio.SharePoint.Validation Namespace

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

The Microsoft.VisualStudio.SharePoint.Validation namespace contains types that you can use to extend the validation process for SharePoint projects. For more information about using the types in this namespace, see Extending SharePoint Packaging and Deployment and How to: Create Custom Feature and Package Validation Rules for SharePoint Solutions.

Interfaces

  Interface Description
Public interface IFeatureValidationContext Represents the contextual data passed to the feature validation rules during the feature validation process.
Public interface IFeatureValidationRule Represents a rule to apply when validating a Feature in a SharePoint project.
Public interface IPackageValidationContext Represents the contextual data passed to package validation rules during package validation.
Public interface IPackageValidationProvider Infrastructure. Represents a component that can validate a SharePoint package and its constituent parts. Validation consists of the application of rules to the package and returning a list of any violated rules.
Public interface IPackageValidationRule Represents a rule to applied when validating a package in a SharePoint project.
Public interface IValidationContext The base interface for objects providing contextual data during validation.
Public interface IValidationResult Represents the result of a feature or package validation.
Public interface IValidationRuleViolation Represents an instance of a validation rule violation.
Public interface IValidationRuleViolationCollection Represents a collection of validation rule violations.

Enumerations

  Enumeration Description
Public enumeration ValidationRuleViolationSeverity Represents the severity values of packaging rule violations.