Share via


PropertyMappingExceptionEventArgs(Exception, String, Object) 建構函式

定義

初始化 PropertyMappingExceptionEventArgs 類別的新執行個體。

public:
 PropertyMappingExceptionEventArgs(Exception ^ exception, System::String ^ propertyName, System::Object ^ propertyValue);
public PropertyMappingExceptionEventArgs (Exception exception, string propertyName, object propertyValue);
new System.Windows.Forms.Integration.PropertyMappingExceptionEventArgs : Exception * string * obj -> System.Windows.Forms.Integration.PropertyMappingExceptionEventArgs
Public Sub New (exception As Exception, propertyName As String, propertyValue As Object)

參數

exception
Exception

要引發的 Exception

propertyName
String

與屬性對應錯誤相關聯之屬性的名稱。

propertyValue
Object

與屬性對應錯誤相關聯之屬性的值。

例外狀況

exceptionnullpropertyNamenull 或是空字串。

適用於

另請參閱