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.StringThe message that explains the reason for the exception.
innerException
Type: System.ExceptionThe cause of the exception.
See Also
Reference
SPFieldValidationException Class
SPFieldValidationException Members