_Exception Interface

Définition

Important

Cette API n’est pas conforme CLS.

Expose les membres publics de la classe à du Exception code non managé.

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
Dérivé
Attributs

Remarques

Cette interface est destinée à l’accès aux classes managées à partir de code non managé et ne doit pas être appelée à partir du code managé.

Cette interface conserve l’ordre vtable des membres de System.Exception classe accessibles par des objets COM non managés.

Propriétés

Nom Description
HelpLink

Fournit aux objets COM un accès indépendant de la version à la HelpLink propriété.

InnerException

Fournit aux objets COM un accès indépendant de la version à la InnerException propriété.

Message

Fournit aux objets COM un accès indépendant de la version à la Message propriété.

Source

Fournit aux objets COM un accès indépendant de la version à la Source propriété.

StackTrace

Fournit aux objets COM un accès indépendant de la version à la StackTrace propriété.

TargetSite

Fournit aux objets COM un accès indépendant de la version à la TargetSite propriété.

Méthodes

Nom Description
Equals(Object)

Fournit aux objets COM un accès indépendant de la version à la Equals(Object) méthode.

GetBaseException()

Fournit aux objets COM un accès indépendant de la version à la GetBaseException() méthode.

GetHashCode()

Fournit aux objets COM un accès indépendant de la version à la GetHashCode() méthode.

GetObjectData(SerializationInfo, StreamingContext)

Fournit aux objets COM un accès indépendant de la version à la GetObjectData(SerializationInfo, StreamingContext) méthode.

GetType()

Fournit aux objets COM un accès indépendant de la version à la GetType() méthode.

ToString()

Fournit aux objets COM un accès indépendant de la version à la ToString() méthode.

S’applique à

Voir aussi