共用方式為


ActiveDirectoryObjectExistsException 建構函式

定義

初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

多載

ActiveDirectoryObjectExistsException()

初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

ActiveDirectoryObjectExistsException(String)

使用指定的錯誤訊息,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)
已淘汰.

使用指定的序列化資訊和資料流內容,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

ActiveDirectoryObjectExistsException(String, Exception)

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

ActiveDirectoryObjectExistsException()

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

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

另請參閱

適用於

ActiveDirectoryObjectExistsException(String)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

使用指定的錯誤訊息,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

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

參數

message
String

描述錯誤的訊息。

另請參閱

適用於

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

警告

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

使用指定的序列化資訊和資料流內容,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

protected:
 ActiveDirectoryObjectExistsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActiveDirectoryObjectExistsException (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 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
[<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.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 物件。

context
StreamingContext

例外狀況的 StreamingContext 物件。

屬性

另請參閱

適用於

ActiveDirectoryObjectExistsException(String, Exception)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ActiveDirectoryObjectExistsException 類別的新執行個體。

public:
 ActiveDirectoryObjectExistsException(System::String ^ message, Exception ^ inner);
public ActiveDirectoryObjectExistsException (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

描述錯誤的訊息。

inner
Exception

Exception 物件,包含基礎例外狀況資訊。

另請參閱

適用於