ValidationError.Exception 属性

定义

获取或设置 Exception 作为此 ValidationError原因的对象(如果错误是异常的结果)。

public:
 property Exception ^ Exception { Exception ^ get(); void set(Exception ^ value); };
public Exception Exception { get; set; }
member this.Exception : Exception with get, set
Public Property Exception As Exception

属性值

如果错误是异常的结果,则对象 Exception

适用于