Compartir a través de


Estructura EXCEPINFO

 

Publicado: octubre de 2016

Nota: Esta API ahora está obsoleta.

Utilice System.Runtime.InteropServices.ComTypes.EXCEPINFO en su lugar.

Espacio de nombres:   System.Runtime.InteropServices
Ensamblado:  mscorlib (en mscorlib.dll)

Sintaxis

[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. https://go.microsoft.com/fwlink/?linkid=14202", 
    false)]
public struct EXCEPINFO
[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. https://go.microsoft.com/fwlink/?linkid=14202", 
    false)]
public value struct EXCEPINFO
[<Sealed>]
[<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. https://go.microsoft.com/fwlink/?linkid=14202",
    false)>]
type EXCEPINFO = struct end
<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.EXCEPINFO instead. https://go.microsoft.com/fwlink/?linkid=14202",
    False)>
Public Structure EXCEPINFO

Métodos

Nombre Descripción
System_CAPS_pubmethod Equals(Object)

Indica si esta instancia y un objeto especificado son iguales.(Heredado de ValueType).

System_CAPS_pubmethod GetHashCode()

Devuelve el código hash de esta instancia.(Heredado de ValueType).

System_CAPS_pubmethod GetType()

Obtiene el Type de la instancia actual.(Heredado de Object).

System_CAPS_pubmethod ToString()

Devuelve el nombre de tipo completo de esta instancia.(Heredado de ValueType).

Campos

Nombre Descripción
System_CAPS_pubfield bstrDescription

Describe el error destinado al cliente.

System_CAPS_pubfield bstrHelpFile

Contiene la unidad completa, la ruta de acceso y el nombre de archivo de un archivo de ayuda con más información sobre el error.

System_CAPS_pubfield bstrSource

Indica el nombre del origen de la excepción. Normalmente, se trata de un nombre de aplicación.

System_CAPS_pubfield dwHelpContext

Indica el identificador de contexto de Ayuda del tema dentro del archivo de ayuda.

System_CAPS_pubfield pfnDeferredFillIn

Representa un puntero a una función que toma un System.Runtime.InteropServices.EXCEPINFO estructura como un argumento y devuelve un valor HRESULT. Si no se desea un relleno aplazado, este campo se establece en null.

System_CAPS_pubfield pvReserved

Este campo está reservado; debe establecerse en null.

System_CAPS_pubfield wCode

Representa un código de error que identifica el error.

System_CAPS_pubfield wReserved

Este campo está reservado; debe establecerse en 0.

Comentarios

For additional information about EXCEPINFO, see the MSDN Library.

Información de versión

.NET Framework
Disponible desde 1.1

Seguridad para subprocesos

Cualquier miembro ( Compartido en Visual Basic) estático público de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ver también

Espacio de nombres System.Runtime.InteropServices

Volver al principio