Compartir a través de


Constructor COMException ()

 

Publicado: octubre de 2016

Inicializa una nueva instancia de la clase COMException con valores predeterminados.

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

Sintaxis

public COMException()
public:
COMException()
new : unit -> COMException
Public Sub New

Comentarios

COMException inherits from ExternalException. The following table shows how this constructor sets the properties of the Exception object.

Property

Value

InnerException

null.

Message

A localized error message string.

Información de versión

Plataforma universal de Windows
Disponible desde 8
.NET Framework
Disponible desde 1.1
Biblioteca de clases portable
Se admite en: plataformas portátiles de .NET
Windows Phone
Disponible desde 8.1

Ver también

COMException Sobrecarga
Clase COMException
Espacio de nombres System.Runtime.InteropServices

Volver al principio