ActiveDirectoryObjectNotFoundException 构造函数

定义

初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

重载

ActiveDirectoryObjectNotFoundException()

初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

ActiveDirectoryObjectNotFoundException(String)

用指定的错误消息初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

ActiveDirectoryObjectNotFoundException(SerializationInfo, StreamingContext)
已过时.

使用指定的序列化信息和流上下文初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

ActiveDirectoryObjectNotFoundException(String, Exception)

用指定的错误消息和基础异常对象初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

ActiveDirectoryObjectNotFoundException(String, Type, String)

用指定的错误信息和关于所请求对象的信息初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

ActiveDirectoryObjectNotFoundException()

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs

初始化 ActiveDirectoryObjectNotFoundException 类的新实例。

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

另请参阅

适用于

ActiveDirectoryObjectNotFoundException(String)

Source:
Exception.cs
Source:
Exception.cs
Source:
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)

Source:
Exception.cs
Source:
Exception.cs
Source:
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)

Source:
Exception.cs
Source:
Exception.cs
Source:
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)

Source:
Exception.cs
Source:
Exception.cs
Source:
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

另请参阅

适用于