共用方式為


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) 建構函式使用指定的序列化 (Serialization) 資訊和資料流 (Streaming) 內容,建立 DirectoryOperationException 類別的執行個體。

DirectoryOperationException(String, Exception)

DirectoryOperationException(String, Exception) 建構函式使用指定的訊息和內部例外狀況,建立 DirectoryOperationException 類別的執行個體。

DirectoryOperationException(DirectoryResponse, String, Exception)

DirectoryOperationException(DirectoryResponse, String, Exception) 建構函式使用指定的回應物件、訊息和內部例外狀況,建立 DirectoryOperationException 類別的執行個體。

DirectoryOperationException()

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
DirectoryException.cs

DirectoryOperationException() 建構函式會建立 DirectoryOperationException 類別的執行個體。

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

適用於

DirectoryOperationException(DirectoryResponse)

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
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)

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
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)

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
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)

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
DirectoryException.cs

警告

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

DirectoryOperationException(SerializationInfo, StreamingContext) 建構函式使用指定的序列化 (Serialization) 資訊和資料流 (Streaming) 內容,建立 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)

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
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)

來源:
DirectoryException.cs
來源:
DirectoryException.cs
來源:
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 (如果有的話)。

適用於