ActiveDirectoryObjectNotFoundException 建構函式

定義

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

多載

ActiveDirectoryObjectNotFoundException()

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

ActiveDirectoryObjectNotFoundException(String)

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

ActiveDirectoryObjectNotFoundException(SerializationInfo, StreamingContext)
已淘汰.

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

ActiveDirectoryObjectNotFoundException(String, Exception)

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

ActiveDirectoryObjectNotFoundException(String, Type, String)

使用指定的錯誤訊息以及與要求的物件有關的資訊,初始化 ActiveDirectoryObjectNotFoundException 類別的新執行個體。

ActiveDirectoryObjectNotFoundException()

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

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

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

另請參閱

適用於

ActiveDirectoryObjectNotFoundException(String)

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

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

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

參數

message
String

描述錯誤的訊息。

另請參閱

適用於

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

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

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

參數

info
SerializationInfo

例外狀況的 SerializationInfo 物件。

context
StreamingContext

例外狀況的 StreamingContext

屬性

另請參閱

適用於

ActiveDirectoryObjectNotFoundException(String, Exception)

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

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

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

參數

message
String

描述錯誤的訊息。

inner
Exception

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

另請參閱

適用於

ActiveDirectoryObjectNotFoundException(String, Type, String)

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

使用指定的錯誤訊息以及與要求的物件有關的資訊,初始化 ActiveDirectoryObjectNotFoundException 類別的新執行個體。

public:
 ActiveDirectoryObjectNotFoundException(System::String ^ message, Type ^ type, System::String ^ name);
public ActiveDirectoryObjectNotFoundException (string message, Type type, string name);
public ActiveDirectoryObjectNotFoundException (string? message, Type? type, string? name);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException : string * Type * string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException
Public Sub New (message As String, type As Type, name As String)

參數

message
String

描述錯誤的訊息。

type
Type

Type 物件,可描述要求的物件之型別。

name
String

String,其中包含要求的物件名稱。

另請參閱

適用於