Partilhar via


SPSolutionValidator.ValidateAssembly Method

A virtual method that validates the assemblies in the solution package. This method is executed one time for each assembly in the solution package.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable Sub ValidateAssembly ( _
    properties As SPSolutionValidationProperties, _
    assembly As SPSolutionFile _
)
'Usage
Dim instance As SPSolutionValidator
Dim properties As SPSolutionValidationProperties
Dim assembly As SPSolutionFile

instance.ValidateAssembly(properties, _
    assembly)
public virtual void ValidateAssembly(
    SPSolutionValidationProperties properties,
    SPSolutionFile assembly
)

Parameters

See Also

Reference

SPSolutionValidator Class

SPSolutionValidator Members

Microsoft.SharePoint.UserCode Namespace