Share via


SPFieldValidationException Constructor (String)

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

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

Syntax

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

Dim instance As New SPFieldValidationException(message)
public SPFieldValidationException(
    string message
)

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