Freigeben über


COMException-Konstruktor: ()

 

Veröffentlicht: Oktober 2016

Initialisiert eine neue Instanz der COMException-Klasse mit Standardwerten.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

Syntax

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

Hinweise

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.

Versionsinformationen

Universelle Windows-Plattform
Verfügbar seit 8
.NET Framework
Verfügbar seit 1.1
Portierbare Klassenbibliothek
Unterstützt in: portierbare .NET-Plattformen
Windows Phone
Verfügbar seit 8.1

Siehe auch

COMException Überladen
COMException-Klasse
System.Runtime.InteropServices-Namespace

Zurück zum Anfang