AsnContentException Konstruktory

Definicja

Przeciążenia

AsnContentException()

Inicjuje AsnContentException nowe wystąpienie klasy przy użyciu komunikatu domyślnego.

AsnContentException(String)

Inicjuje AsnContentException nowe wystąpienie klasy przy użyciu podanego komunikatu.

AsnContentException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie klasy AsnContentException z zserializowanymi danymi.

AsnContentException(String, Exception)

Inicjuje AsnContentException nowe wystąpienie klasy przy użyciu podanego komunikatu i wyjątku, który jest przyczyną tego wyjątku.

AsnContentException()

Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs

Inicjuje AsnContentException nowe wystąpienie klasy przy użyciu komunikatu domyślnego.

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

Dotyczy

AsnContentException(String)

Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs

Inicjuje AsnContentException nowe wystąpienie klasy przy użyciu podanego komunikatu.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

Dotyczy

AsnContentException(SerializationInfo, StreamingContext)

Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs

Przestroga

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

Inicjuje nowe wystąpienie klasy AsnContentException z zserializowanymi danymi.

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)

Parametry

info
SerializationInfo

Obiekt zawierający dane serializowanego obiektu.

context
StreamingContext

Informacje kontekstowe dotyczące źródła lub miejsca docelowego.

Atrybuty

Dotyczy

AsnContentException(String, Exception)

Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs
Źródło:
AsnContentException.cs

Inicjuje AsnContentException nowe wystąpienie klasy przy użyciu podanego komunikatu i wyjątku, który jest przyczyną tego wyjątku.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

inner
Exception

Wyjątek będący przyczyną bieżącego wyjątku.

Dotyczy