SPUserCodeValidationFailedException constructor (String, String)
Initializes a new instance of the SPUserCodeValidationFailedException class with the specified message and URL.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
validationErrorMessage As String, _
validationErrorUrl As String _
)
'Usage
Dim validationErrorMessage As String
Dim validationErrorUrl As String
Dim instance As New SPUserCodeValidationFailedException(validationErrorMessage, _
validationErrorUrl)
public SPUserCodeValidationFailedException(
string validationErrorMessage,
string validationErrorUrl
)
Parameters
validationErrorMessage
Type: System.StringThe validation error message.
validationErrorUrl
Type: System.StringThe URL for the page that contains the validation error message.
See also
Reference
SPUserCodeValidationFailedException class
SPUserCodeValidationFailedException members