Partilhar via


SPUserCodeValidationFailedException.ValidationErrorMessage Property

Gets the error message when a sandboxed solution fails validation.

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

Syntax

'Declaration
Public ReadOnly Property ValidationErrorMessage As String
    Get
'Usage
Dim instance As SPUserCodeValidationFailedException
Dim value As String

value = instance.ValidationErrorMessage
public string ValidationErrorMessage { get; }

Property Value

Type: System.String
The error message.

See Also

Reference

SPUserCodeValidationFailedException Class

SPUserCodeValidationFailedException Members

Microsoft.SharePoint.UserCode Namespace