_Exception Interface

 

Exposes the public members of the System::Exception class to unmanaged code.

This API is not CLS-compliant.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[GuidAttribute("b36b5c63-42ef-38bc-a07e-0b34c98f164a")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public interface class _Exception

NameDescription
System_CAPS_pubpropertyHelpLink

Provides COM objects with version-independent access to the Exception::HelpLink property.

System_CAPS_pubpropertyInnerException

Provides COM objects with version-independent access to the Exception::InnerException property.

System_CAPS_pubpropertyMessage

Provides COM objects with version-independent access to the Exception::Message property.

System_CAPS_pubpropertySource

Provides COM objects with version-independent access to the Exception::Source property.

System_CAPS_pubpropertyStackTrace

Provides COM objects with version-independent access to the Exception::StackTrace property.

System_CAPS_pubpropertyTargetSite

Provides COM objects with version-independent access to the Exception::TargetSite property.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Provides COM objects with version-independent access to the Object::Equals method.

System_CAPS_pubmethodGetBaseException()

Provides COM objects with version-independent access to the Exception::GetBaseException method.

System_CAPS_pubmethodGetHashCode()

Provides COM objects with version-independent access to the Object::GetHashCode method.

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Provides COM objects with version-independent access to the Exception::GetObjectData method

System_CAPS_pubmethodGetType()

Provides COM objects with version-independent access to the Exception::GetType method.

System_CAPS_pubmethodToString()

Provides COM objects with version-independent access to the Exception::ToString method.

This interface is for access to managed classes from unmanaged code and should not be called from managed code.

This interface preserves the vtable order of the System::Exception class members that can be accessed by unmanaged COM objects.

.NET Framework
Available since 2.0
Return to top
Show: