PropertyMappingExceptionEventArgs 類別

定義

提供 PropertyMappingError 事件的資料。

public ref class PropertyMappingExceptionEventArgs : System::Windows::Forms::Integration::IntegrationExceptionEventArgs
public class PropertyMappingExceptionEventArgs : System.Windows.Forms.Integration.IntegrationExceptionEventArgs
type PropertyMappingExceptionEventArgs = class
    inherit IntegrationExceptionEventArgs
Public Class PropertyMappingExceptionEventArgs
Inherits IntegrationExceptionEventArgs
繼承
PropertyMappingExceptionEventArgs

備註

在您的事件處理常式中 ThrowException ,將 屬性的值設定為 true ,以指出應該引發例外狀況。

建構函式

PropertyMappingExceptionEventArgs(Exception, String, Object)

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

屬性

Exception

取得與這個 Exception 關聯的 IntegrationExceptionEventArgs

(繼承來源 IntegrationExceptionEventArgs)
PropertyName

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

PropertyValue

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

ThrowException

取得或設定值,指出是否引發 Exception 屬性所指定的 Exception

(繼承來源 IntegrationExceptionEventArgs)

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱