DirectoryOperationException 构造函数

定义

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

重载

DirectoryOperationException()

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

DirectoryOperationException(DirectoryResponse)

DirectoryOperationException(DirectoryResponse) 构造函数使用指定的响应对象创建 DirectoryOperationException 类的实例。

DirectoryOperationException(String)

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

DirectoryOperationException(DirectoryResponse, String)

DirectoryOperationException(DirectoryResponse, String) 构造函数使用指定的响应对象和消息创建 DirectoryOperationException 对象的实例。

DirectoryOperationException(SerializationInfo, StreamingContext)
已过时.

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

DirectoryOperationException(String, Exception)

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

DirectoryOperationException(DirectoryResponse, String, Exception)

DirectoryOperationException(DirectoryResponse, String, Exception) 构造函数使用指定的响应对象、消息和内部异常创建 DirectoryOperationException 类的实例。

DirectoryOperationException()

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

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

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

适用于

DirectoryOperationException(DirectoryResponse)

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

DirectoryOperationException(DirectoryResponse) 构造函数使用指定的响应对象创建 DirectoryOperationException 类的实例。

public:
 DirectoryOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response);
public DirectoryOperationException (System.DirectoryServices.Protocols.DirectoryResponse response);
new System.DirectoryServices.Protocols.DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryResponse -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (response As DirectoryResponse)

参数

response
DirectoryResponse

服务器返回的 DirectoryResponse 对象。

适用于

DirectoryOperationException(String)

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

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

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

参数

message
String

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

适用于

DirectoryOperationException(DirectoryResponse, String)

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

DirectoryOperationException(DirectoryResponse, String) 构造函数使用指定的响应对象和消息创建 DirectoryOperationException 对象的实例。

public:
 DirectoryOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response, System::String ^ message);
public DirectoryOperationException (System.DirectoryServices.Protocols.DirectoryResponse response, string message);
new System.DirectoryServices.Protocols.DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryResponse * string -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (response As DirectoryResponse, message As String)

参数

response
DirectoryResponse

服务器返回的 DirectoryResponse 对象。

message
String

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

适用于

DirectoryOperationException(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.

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

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

参数

info
SerializationInfo

序列化参数所需的数据。

context
StreamingContext

与该参数相关联的序列化流的源和目标。

属性

适用于

DirectoryOperationException(String, Exception)

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

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

public:
 DirectoryOperationException(System::String ^ message, Exception ^ inner);
public DirectoryOperationException (string message, Exception inner);
new System.DirectoryServices.Protocols.DirectoryOperationException : string * Exception -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (message As String, inner As Exception)

参数

message
String

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

inner
Exception

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

适用于

DirectoryOperationException(DirectoryResponse, String, Exception)

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

DirectoryOperationException(DirectoryResponse, String, Exception) 构造函数使用指定的响应对象、消息和内部异常创建 DirectoryOperationException 类的实例。

public:
 DirectoryOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response, System::String ^ message, Exception ^ inner);
public DirectoryOperationException (System.DirectoryServices.Protocols.DirectoryResponse response, string message, Exception inner);
new System.DirectoryServices.Protocols.DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryResponse * string * Exception -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (response As DirectoryResponse, message As String, inner As Exception)

参数

response
DirectoryResponse

服务器返回的 DirectoryResponse 对象。

message
String

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

inner
Exception

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

适用于