_Exception 接口
定义
重要
此 API 不符合 CLS。
public interface class _Exception
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("b36b5c63-42ef-38bc-a07e-0b34c98f164a")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface _Exception
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("b36b5c63-42ef-38bc-a07e-0b34c98f164a")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)>]
type _Exception = interface
Public Interface _Exception
- 派生
- 属性
注解
此接口用于从非托管代码访问托管类,不应从托管代码调用。This interface is for access to managed classes from unmanaged code and should not be called from managed code.
此接口保留 System.Exception 可由非托管 COM 对象访问的类成员的 vtable 顺序。This interface preserves the vtable order of the System.Exception class members that can be accessed by unmanaged COM objects.
属性
| HelpLink |
为 COM 对象提供对 HelpLink 属性的与版本无关的访问。Provides COM objects with version-independent access to the HelpLink property. |
| InnerException |
为 COM 对象提供对 InnerException 属性的与版本无关的访问。Provides COM objects with version-independent access to the InnerException property. |
| Message |
为 COM 对象提供对 Message 属性的与版本无关的访问。Provides COM objects with version-independent access to the Message property. |
| Source |
为 COM 对象提供对 Source 属性的与版本无关的访问。Provides COM objects with version-independent access to the Source property. |
| StackTrace |
为 COM 对象提供对 StackTrace 属性的与版本无关的访问。Provides COM objects with version-independent access to the StackTrace property. |
| TargetSite |
为 COM 对象提供对 TargetSite 属性的与版本无关的访问。Provides COM objects with version-independent access to the TargetSite property. |
方法
| Equals(Object) |
为 COM 对象提供对 Equals(Object) 方法的与版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method. |
| GetBaseException() |
为 COM 对象提供对 GetBaseException() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetBaseException() method. |
| GetHashCode() |
为 COM 对象提供对 GetHashCode() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetHashCode() method. |
| GetObjectData(SerializationInfo, StreamingContext) |
为 COM 对象提供对 GetObjectData(SerializationInfo, StreamingContext) 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method. |
| GetType() |
为 COM 对象提供对 GetType() 方法的与版本无关的访问。Provides COM objects with version-independent access to the GetType() method. |
| ToString() |
为 COM 对象提供对 ToString() 方法的与版本无关的访问。Provides COM objects with version-independent access to the ToString() method. |