Exception.GetType 方法

定義

取得目前執行個體的執行階段類型。

public:
 Type ^ GetType();
public:
 virtual Type ^ GetType();
public Type GetType ();
override this.GetType : unit -> Type
Public Function GetType () As Type

傳回

Type

Type 物件,代表目前執行個體的確實執行階段類型。

實作

備註

方法 GetType 存在以支援.NET Framework基礎結構,並在內部叫用基本方法 Object.GetType

適用於

另請參閱