IPackageValidationRule.ValidatePackage Method
Determines whether a package currently violates this rule.
Namespace: Microsoft.VisualStudio.SharePoint.Validation
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Sub ValidatePackage ( _
context As IPackageValidationContext _
)
void ValidatePackage(
IPackageValidationContext context
)
Parameters
- context
Type: Microsoft.VisualStudio.SharePoint.Validation.IPackageValidationContext
Contextual data associated with the package and validation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.