CborContentException Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| CborContentException(String) |
Initialisiert eine neue Instanz der Klasse mithilfe der CborContentException 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, wobei die bereitgestellte Nachricht und Ausnahme verwendet wird, die die Ursache dieser Ausnahme ist. |
CborContentException(String)
- Quelle:
- CborContentException.cs
- Quelle:
- CborContentException.cs
- Quelle:
- CborContentException.cs
- Quelle:
- CborContentException.cs
Initialisiert eine neue Instanz der Klasse mithilfe der CborContentException 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, die den Grund für die Ausnahme erläutert.
Gilt für:
CborContentException(SerializationInfo, StreamingContext)
- Quelle:
- CborContentException.cs
- 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);
[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);
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}")>]
new System.Formats.Cbor.CborContentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Formats.Cbor.CborContentException
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 serialisierten Objektdaten enthält.
- context
- StreamingContext
Die kontextbezogenen Informationen zur Quelle oder zum Ziel.
- Attribute
Gilt für:
CborContentException(String, Exception)
- Quelle:
- CborContentException.cs
- Quelle:
- CborContentException.cs
- Quelle:
- CborContentException.cs
- Quelle:
- CborContentException.cs
Initialisiert eine neue Instanz der CborContentException Klasse, wobei die bereitgestellte Nachricht und Ausnahme verwendet wird, 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, die den Grund für die Ausnahme erläutert.
- inner
- Exception
Die Ausnahme, die die Ursache der aktuellen Ausnahme ist.