Marshal.GetExceptionCode Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
GetExceptionCode() may be unavailable in future releases.
Récupère un code qui identifie le type de l’exception qui s’est produite.
public:
static int GetExceptionCode();
[System.Obsolete("GetExceptionCode() may be unavailable in future releases.")]
[System.Security.SecurityCritical]
public static int GetExceptionCode();
public static int GetExceptionCode();
[System.Security.SecurityCritical]
public static int GetExceptionCode();
[System.Obsolete("GetExceptionCode() may be unavailable in future releases.")]
public static int GetExceptionCode();
[<System.Obsolete("GetExceptionCode() may be unavailable in future releases.")>]
[<System.Security.SecurityCritical>]
static member GetExceptionCode : unit -> int
static member GetExceptionCode : unit -> int
[<System.Security.SecurityCritical>]
static member GetExceptionCode : unit -> int
[<System.Obsolete("GetExceptionCode() may be unavailable in future releases.")>]
static member GetExceptionCode : unit -> int
Public Shared Function GetExceptionCode () As Integer
Retours
Type de l’exception.
- Attributs
Remarques
GetExceptionCode est exposé uniquement pour la prise en charge du compilateur de la gestion des exceptions structurées (SEH). Si cette méthode est appelée avant qu’une exception soit levée, elle retourne 0x0.