Compartir a través de


Microsoft.VisualStudio.SharePoint.Validation Namespace

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

IFeatureValidationContext

Represents the contextual data passed to the feature validation rules during the feature validation process.

IFeatureValidationRule

Represents a rule to apply when validating a Feature in a SharePoint project.

IPackageValidationContext

Represents the contextual data passed to package validation rules during package validation.

IPackageValidationProvider

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.

IPackageValidationRule

Represents a rule to applied when validating a package in a SharePoint project.

IValidationContext

The base interface for objects providing contextual data during validation.

IValidationResult

Represents the result of a feature or package validation.

IValidationRuleViolation

Represents an instance of a validation rule violation.

IValidationRuleViolationCollection

Represents a collection of validation rule violations.

Enums

ValidationRuleViolationSeverity

Represents the severity values of packaging rule violations.