ActiveDirectoryObjectNotFoundException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ActiveDirectoryObjectNotFoundException 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
初始化 ActiveDirectoryObjectNotFoundException 類別的新執行個體。
public:
ActiveDirectoryObjectNotFoundException();
public ActiveDirectoryObjectNotFoundException();
Public Sub New ()
另請參閱
適用於
ActiveDirectoryObjectNotFoundException(String)
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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);
[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);
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}")>]
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException
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
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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
一則描述錯誤的訊息。
另請參閱
適用於
ActiveDirectoryObjectNotFoundException(String, Type, String)
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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
一則描述錯誤的訊息。