Editare

Partajați prin


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

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

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

Applies to

BerConversionException(String)

Source:
DirectoryException.cs
Source:
DirectoryException.cs

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

public:
 BerConversionException(System::String ^ message);
public BerConversionException (string message);
new System.DirectoryServices.Protocols.BerConversionException : string -> System.DirectoryServices.Protocols.BerConversionException
Public Sub New (message As String)

Parameters

message
String

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

Applies to

BerConversionException(SerializationInfo, StreamingContext)

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.

protected:
 BerConversionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected BerConversionException (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 BerConversionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.Protocols.BerConversionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.BerConversionException
[<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.DirectoryServices.Protocols.BerConversionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.BerConversionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialized object data about the exception thrown.

context
StreamingContext

The contextual data about the source or destination.

Attributes

Applies to

BerConversionException(String, Exception)

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(System::String ^ message, Exception ^ inner);
public BerConversionException (string message, Exception inner);
new System.DirectoryServices.Protocols.BerConversionException : string * Exception -> System.DirectoryServices.Protocols.BerConversionException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The message displayed when the exception is thrown.

inner
Exception

The InnerException, if any, that threw the exception.

Applies to