语言

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

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs
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
Source:
Exception.cs
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 包含所请求对象的名称。

另请参阅

适用于