SPFieldValidationException constructor (String, Exception)

Initializes a new instance of the SPFieldValidationException class based on the specified message and exception.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New SPFieldValidationException(message, _
    innerException)
public SPFieldValidationException(
    string message,
    Exception innerException
)

Parameters

  • message
    Type: System.String

    The message that explains the reason for the exception.

See also

Reference

SPFieldValidationException class

SPFieldValidationException members

SPFieldValidationException overload

Microsoft.SharePoint namespace