BerConversionException 构造函数

定义

BerConversionException() 构造函数创建 BerConversionException 类的实例。

重载

BerConversionException()

BerConversionException() 构造函数创建 BerConversionException 类的实例。

BerConversionException(String)

BerConversionException(String) 构造函数使用指定的消息创建 BerConversionException 类的实例。

BerConversionException(SerializationInfo, StreamingContext)
已过时.

BerConversionException(SerializationInfo, StreamingContext) 构造函数使用指定序列化数据和流上下文数据创建 BerConversionException 类的实例。

BerConversionException(String, Exception)

BerConversionException(String, Exception) 构造函数使用指定的消息和内部异常创建 BerConversionException 类的实例。

BerConversionException()

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

BerConversionException() 构造函数创建 BerConversionException 类的实例。

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

适用于

BerConversionException(String)

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

BerConversionException(String) 构造函数使用指定的消息创建 BerConversionException 类的实例。

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)

参数

message
String

引发异常时显示到客户端的消息。

适用于

BerConversionException(SerializationInfo, StreamingContext)

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

注意

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

BerConversionException(SerializationInfo, StreamingContext) 构造函数使用指定序列化数据和流上下文数据创建 BerConversionException 类的实例。

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)

参数

info
SerializationInfo

有关引发的异常的序列化对象数据。

context
StreamingContext

有关源或目标的上下文数据。

属性

适用于

BerConversionException(String, Exception)

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

BerConversionException(String, Exception) 构造函数使用指定的消息和内部异常创建 BerConversionException 类的实例。

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)

参数

message
String

当引发异常时显示的消息。

inner
Exception

引发异常的 InnerException(如果有)。

适用于