Freigeben über


CustomAttributeFormatException-Konstruktor (String)

Initialisiert eine neue Instanz der CustomAttributeFormatException-Klasse mit der angegebenen Meldung.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String

Dim instance As New CustomAttributeFormatException(message)
public CustomAttributeFormatException (
    string message
)
public:
CustomAttributeFormatException (
    String^ message
)
public CustomAttributeFormatException (
    String message
)
public function CustomAttributeFormatException (
    message : String
)

Parameter

  • message
    Die Meldung, in der die Ursache für das Auslösen dieser Ausnahme angegeben wird.

Hinweise

Dieser Konstruktor legt die Eigenschaften des Exception-Objekts wie folgt fest:

Eigenschaft

Wert

InnerException

NULL (Nothing in Visual Basic)

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

CustomAttributeFormatException-Klasse
CustomAttributeFormatException-Member
System.Reflection-Namespace
Exception
FormatException