다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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