_Exception _Exception _Exception _Exception Interface

定义

重要

此 API 不符合 CLS。

向非托管代码公开 Exception 类的公共成员。Exposes the public members of the Exception class to unmanaged code.

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
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.

此接口保留的 vtable 顺序System.Exception类可以访问由非托管 COM 对象的成员。This interface preserves the vtable order of the System.Exception class members that can be accessed by unmanaged COM objects.

属性

HelpLink HelpLink HelpLink HelpLink

为 COM 对象提供对 HelpLink 属性的版本无关的访问。Provides COM objects with version-independent access to the HelpLink property.

InnerException InnerException InnerException InnerException

为 COM 对象提供对 InnerException 属性的版本无关的访问。Provides COM objects with version-independent access to the InnerException property.

Message Message Message Message

为 COM 对象提供对 Message 属性的版本无关的访问。Provides COM objects with version-independent access to the Message property.

Source Source Source Source

为 COM 对象提供对 Source 属性的版本无关的访问。Provides COM objects with version-independent access to the Source property.

StackTrace StackTrace StackTrace StackTrace

为 COM 对象提供对 StackTrace 属性的版本无关的访问。Provides COM objects with version-independent access to the StackTrace property.

TargetSite TargetSite TargetSite TargetSite

为 COM 对象提供对 TargetSite 属性的版本无关的访问。Provides COM objects with version-independent access to the TargetSite property.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

GetBaseException() GetBaseException() GetBaseException() GetBaseException()

为 COM 对象提供对 GetBaseException() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetBaseException() method.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

为 COM 对象提供对 GetHashCode() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetHashCode() method.

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

为 COM 对象提供对 GetObjectData(SerializationInfo, StreamingContext) 方法的版本无关的访问Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method

GetType() GetType() GetType() GetType()

为 COM 对象提供对 GetType() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetType() method.

ToString() ToString() ToString() ToString()

为 COM 对象提供对 ToString() 方法的版本无关的访问。Provides COM objects with version-independent access to the ToString() method.

适用于

另请参阅