共用方式為


SPFieldValidationException class

表示欄位的值驗證期間發生錯誤時擲回的例外狀況。

Inheritance hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.SPFieldValidationException
          Microsoft.SharePoint.SPFieldUserValidationException

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

Syntax

'宣告
<SerializableAttribute> _
Public Class SPFieldValidationException _
    Inherits SPException
'用途
Dim instance As SPFieldValidationException
[SerializableAttribute]
public class SPFieldValidationException : SPException

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPFieldValidationException members

Microsoft.SharePoint namespace