Partilhar via


SPUserCodeValidationFailedException Class

Represents the failure of a sandboxed solution to validate.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.UserCode.SPUserCodeValidationFailedException

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPUserCodeValidationFailedException _
    Inherits SPException
'Usage
Dim instance As SPUserCodeValidationFailedException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPUserCodeValidationFailedException : SPException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPUserCodeValidationFailedException Members

Microsoft.SharePoint.UserCode Namespace