Breyta

Deila með


_Exception Interface

Definition

Important

This API is not CLS-compliant.

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
[<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
Derived
Attributes

Remarks

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.

Properties

HelpLink

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

InnerException

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

Message

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

Source

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

StackTrace

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

TargetSite

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

Methods

Equals(Object)

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

GetBaseException()

Provides COM objects with version-independent access to the GetBaseException() method.

GetHashCode()

Provides COM objects with version-independent access to the GetHashCode() method.

GetObjectData(SerializationInfo, StreamingContext)

Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method.

GetType()

Provides COM objects with version-independent access to the GetType() method.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Applies to

See also