语言

ActiveDirectoryObjectExistsException 构造函数

定义

初始化 ActiveDirectoryObjectExistsException 类的新实例。

重载

名称 说明
ActiveDirectoryObjectExistsException()

初始化 ActiveDirectoryObjectExistsException 类的新实例。

ActiveDirectoryObjectExistsException(String)

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

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)
已过时.

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

ActiveDirectoryObjectExistsException(String, Exception)

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

ActiveDirectoryObjectExistsException()

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

初始化 ActiveDirectoryObjectExistsException 类的新实例。

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

另请参阅

适用于

ActiveDirectoryObjectExistsException(String)

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

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.

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

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);
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}")>]
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
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)

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs
Source:
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包含基础异常信息的对象。

另请参阅

适用于