BerConversionException Constructors

Definition

The BerConversionException() constructor creates an instance of the BerConversionException class.

Overloads

BerConversionException()

The BerConversionException() constructor creates an instance of the BerConversionException class.

BerConversionException(String)

The BerConversionException(String) constructor creates an instance of the BerConversionException class using the specified message.

BerConversionException(SerializationInfo, StreamingContext)
Obsolete.

The BerConversionException(SerializationInfo, StreamingContext) constructor creates an instance of the BerConversionException class using the specified serialization data and streaming contextual data.

BerConversionException(String, Exception)

The BerConversionException(String, Exception) constructor creates an instance of the BerConversionException class using the specified message and inner exception.

BerConversionException()

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The BerConversionException() constructor creates an instance of the BerConversionException class.

public BerConversionException ();

Applies to

.NET 9 (package-provided) e altre versioni
Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

BerConversionException(String)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The BerConversionException(String) constructor creates an instance of the BerConversionException class using the specified message.

public BerConversionException (string message);

Parameters

message
String

The message displayed to the client when the exception is thrown.

Applies to

.NET 9 (package-provided) e altre versioni
Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

BerConversionException(SerializationInfo, StreamingContext)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

Caution

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

The BerConversionException(SerializationInfo, StreamingContext) constructor creates an instance of the BerConversionException class using the specified serialization data and streaming contextual data.

[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 BerConversionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected BerConversionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The serialized object data about the exception thrown.

context
StreamingContext

The contextual data about the source or destination.

Attributes

Applies to

.NET 9 (package-provided) e altre versioni
Prodotto Versioni (Obsoleto)
.NET (8 (package-provided), 9 (package-provided))
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

BerConversionException(String, Exception)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The BerConversionException(String, Exception) constructor creates an instance of the BerConversionException class using the specified message and inner exception.

public BerConversionException (string message, Exception inner);

Parameters

message
String

The message displayed when the exception is thrown.

inner
Exception

The InnerException, if any, that threw the exception.

Applies to

.NET 9 (package-provided) e altre versioni
Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)