AsnContentException Konstruktoren

Definition

Überlädt

AsnContentException()

Initialisiert eine neue Instanz der AsnContentException-Klasse unter Verwendung der Standardmeldung.

AsnContentException(String)

Initialisiert eine neue Instanz der AsnContentException-Klasse unter Verwendung der bereitgestellten Meldung.

AsnContentException(SerializationInfo, StreamingContext)
Veraltet.

Initialisiert eine neue Instanz der AsnContentException-Klasse mit serialisierten Daten.

AsnContentException(String, Exception)

Initialisiert eine neue Instanz der AsnContentException-Klasse mit einer angegebenen Meldung und der Ausnahme, die die Ursache dieser Ausnahme ist.

AsnContentException()

Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs

Initialisiert eine neue Instanz der AsnContentException-Klasse unter Verwendung der Standardmeldung.

public:
 AsnContentException();
public AsnContentException ();
Public Sub New ()

Gilt für:

AsnContentException(String)

Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs

Initialisiert eine neue Instanz der AsnContentException-Klasse unter Verwendung der bereitgestellten Meldung.

public:
 AsnContentException(System::String ^ message);
public AsnContentException (string? message);
new System.Formats.Asn1.AsnContentException : string -> System.Formats.Asn1.AsnContentException
Public Sub New (message As String)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

Gilt für:

AsnContentException(SerializationInfo, StreamingContext)

Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs

Achtung

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initialisiert eine neue Instanz der AsnContentException-Klasse mit serialisierten Daten.

protected:
 AsnContentException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected AsnContentException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected AsnContentException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Formats.Asn1.AsnContentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Formats.Asn1.AsnContentException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Formats.Asn1.AsnContentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Formats.Asn1.AsnContentException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

Das Objekt, das die Daten des serialisierten Objekts enthält.

context
StreamingContext

Die Kontextinformationen zur Quelle bzw. zum Ziel.

Attribute

Gilt für:

AsnContentException(String, Exception)

Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs
Quelle:
AsnContentException.cs

Initialisiert eine neue Instanz der AsnContentException-Klasse mit einer angegebenen Meldung und der Ausnahme, die die Ursache dieser Ausnahme ist.

public:
 AsnContentException(System::String ^ message, Exception ^ inner);
public AsnContentException (string? message, Exception? inner);
new System.Formats.Asn1.AsnContentException : string * Exception -> System.Formats.Asn1.AsnContentException
Public Sub New (message As String, inner As Exception)

Parameter

message
String

Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.

inner
Exception

Die Ausnahme, die die Ursache der aktuellen Ausnahme ist.

Gilt für: