CborContentException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CborContentException(String) |
Initializes a new instance of the CborContentException class using the provided message. |
CborContentException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the CborContentException class with serialized data. |
CborContentException(String, Exception) |
Initializes a new instance of the CborContentException class, using the provided message and exception that is the cause of this exception. |
CborContentException(String)
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
Initializes a new instance of the CborContentException class using the provided message.
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)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
CborContentException(SerializationInfo, StreamingContext)
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
Caution
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initializes a new instance of the CborContentException class with serialized data.
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)
Parameters
- info
- SerializationInfo
The object that holds the serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
- Attributes
Applies to
CborContentException(String, Exception)
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
- Source:
- CborContentException.cs
Initializes a new instance of the CborContentException class, using the provided message and exception that is the cause of this exception.
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)
Parameters
- message
- String
The error message that explains the reason for the exception.
- inner
- Exception
The exception that is the cause of the current exception.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기