ActiveDirectoryObjectExistsException 建構函式

定義

初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class.

多載

ActiveDirectoryObjectExistsException()

初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class.

ActiveDirectoryObjectExistsException(String)

使用指定的錯誤訊息,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message.

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)

使用指定的序列化資訊和資料流內容,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class, using the specified serialization information and streaming context.

ActiveDirectoryObjectExistsException(String, Exception)

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message and an underlying exception object.

ActiveDirectoryObjectExistsException()

初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class.

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

另請參閱

ActiveDirectoryObjectExistsException(String)

使用指定的錯誤訊息,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message.

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

參數

message
String

描述錯誤的訊息。A message that describes the error.

另請參閱

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)

使用指定的序列化資訊和資料流內容,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class, using the specified serialization information and streaming context.

protected:
 ActiveDirectoryObjectExistsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActiveDirectoryObjectExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

例外狀況的 SerializationInfo 物件。The SerializationInfo object for the exception.

context
StreamingContext

例外狀況的 StreamingContext 物件。The StreamingContext object for the exception.

另請參閱

ActiveDirectoryObjectExistsException(String, Exception)

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message and an underlying exception object.

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

參數

message
String

描述錯誤的訊息。A message that describes the error.

inner
Exception

Exception 物件,包含基礎例外狀況資訊。An Exception object that contains underlying exception information.

另請參閱

適用於