Gets a message with information about the failure.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property Message As String
Get
用法
Dim instance As SPListDataValidationException.SPFailure
Dim value As String
value = instance.Message
public string Message { get; }
属性值
类型:System.String
If the Reason property contains SPReason.DataFailure, then the value of the Message property is the user-provided value of the ValidationMessage property of the list or field where data validation failed. If the Reason property returns SPReason.FormulaError, then a static message is provided by the system.
另请参阅
引用
SPListDataValidationException.SPFailure 类