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)
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
properties
Type: Microsoft.SharePoint.UserCode.SPSolutionValidationPropertiesThe set of properties associated with the current solution package.
assembly
Type: Microsoft.SharePoint.UserCode.SPSolutionFileA file that represents an assembly in the solution package.