AsnContentException Constructores

Definición

Sobrecargas

Nombre Description
AsnContentException()

Inicializa una nueva instancia de la AsnContentException clase utilizando el mensaje predeterminado.

AsnContentException(String)

Inicializa una nueva instancia de la AsnContentException clase utilizando el mensaje proporcionado.

AsnContentException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la AsnContentException clase con datos serializados.

AsnContentException(String, Exception)

Inicializa una nueva instancia de la AsnContentException clase utilizando el mensaje y la excepción proporcionados que es la causa de esta excepción.

AsnContentException()

Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs

Inicializa una nueva instancia de la AsnContentException clase utilizando el mensaje predeterminado.

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

Se aplica a

AsnContentException(String)

Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs

Inicializa una nueva instancia de la AsnContentException clase utilizando el mensaje proporcionado.

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)

Parámetros

message
String

Mensaje de error que explica el motivo de la excepción.

Se aplica a

AsnContentException(SerializationInfo, StreamingContext)

Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs

Precaución

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

Inicializa una nueva instancia de la AsnContentException clase con datos serializados.

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);
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}")>]
new System.Formats.Asn1.AsnContentException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Formats.Asn1.AsnContentException
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)

Parámetros

info
SerializationInfo

Objeto que contiene los datos del objeto serializado.

context
StreamingContext

Información contextual sobre el origen o el destino.

Atributos

Se aplica a

AsnContentException(String, Exception)

Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs
Source:
AsnContentException.cs

Inicializa una nueva instancia de la AsnContentException clase utilizando el mensaje y la excepción proporcionados que es la causa de esta excepción.

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)

Parámetros

message
String

Mensaje de error que explica el motivo de la excepción.

inner
Exception

Excepción que es la causa de la excepción actual.

Se aplica a