SPUserCodeCachedAssemblyGroup.Validate method
Validates the data structures of this user assembly group and the files on disk.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Validate
'Usage
Dim instance As SPUserCodeCachedAssemblyGroup
instance.Validate()
public void Validate()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The root directory of this user assembly group does not exist. -or- A file from this user assembly group is missing from the disk contents. -or- A file from this user assembly group in the assembly collection is using a strong name key, but is not in the file collection. -or- A file found in the directory for this user assembly group is missing from the in-memory data structures. |
Remarks
This method always sets the LastAccessedTime to the current date and time.
See also
Reference
SPUserCodeCachedAssemblyGroup class