CborContentException Konstruktoren

Definition

Überlädt

CborContentException(String)

Initialisiert eine neue instance der CborContentException -Klasse mithilfe der bereitgestellten Nachricht.

CborContentException(SerializationInfo, StreamingContext)
Veraltet.

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

CborContentException(String, Exception)

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

CborContentException(String)

Quelle:
CborContentException.cs
Quelle:
CborContentException.cs
Quelle:
CborContentException.cs

Initialisiert eine neue instance der CborContentException -Klasse mithilfe der bereitgestellten Nachricht.

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

Parameter

message
String

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

Gilt für:

CborContentException(SerializationInfo, StreamingContext)

Quelle:
CborContentException.cs
Quelle:
CborContentException.cs
Quelle:
CborContentException.cs

Achtung

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

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

protected:
 CborContentException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CborContentException (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 CborContentException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Formats.Cbor.CborContentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Formats.Cbor.CborContentException
[<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.Cbor.CborContentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Formats.Cbor.CborContentException
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:

CborContentException(String, Exception)

Quelle:
CborContentException.cs
Quelle:
CborContentException.cs
Quelle:
CborContentException.cs

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

public:
 CborContentException(System::String ^ message, Exception ^ inner);
public CborContentException (string? message, Exception? inner);
new System.Formats.Cbor.CborContentException : string * Exception -> System.Formats.Cbor.CborContentException
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: