ActiveDirectoryServerDownException 构造函数

定义

初始化 ActiveDirectoryServerDownException 类的新实例。

重载

ActiveDirectoryServerDownException()

初始化 ActiveDirectoryServerDownException 类的新实例。

ActiveDirectoryServerDownException(String)

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

ActiveDirectoryServerDownException(SerializationInfo, StreamingContext)
已过时.

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

ActiveDirectoryServerDownException(String, Exception)

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

ActiveDirectoryServerDownException(String, Int32, String)

使用指定的错误消息、指定的错误代码和指定的服务器名称初始化 ActiveDirectoryServerDownException 类的新实例。

ActiveDirectoryServerDownException(String, Exception, Int32, String)

使用指定的错误消息、基础异常对象、指定的错误代码和指定的服务器名称初始化 ActiveDirectoryServerDownException 类的新实例。

ActiveDirectoryServerDownException()

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

初始化 ActiveDirectoryServerDownException 类的新实例。

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

适用于

ActiveDirectoryServerDownException(String)

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

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

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

参数

message
String

描述错误的消息。

适用于

ActiveDirectoryServerDownException(SerializationInfo, StreamingContext)

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.

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

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

参数

info
SerializationInfo

异常 SerializationInfo 对象。

context
StreamingContext

异常的 StreamingContext

属性

另请参阅

适用于

ActiveDirectoryServerDownException(String, Exception)

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

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

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

参数

message
String

描述错误的消息。

inner
Exception

包含基础异常信息的 Exception 对象。

适用于

ActiveDirectoryServerDownException(String, Int32, String)

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

使用指定的错误消息、指定的错误代码和指定的服务器名称初始化 ActiveDirectoryServerDownException 类的新实例。

public:
 ActiveDirectoryServerDownException(System::String ^ message, int errorCode, System::String ^ name);
public ActiveDirectoryServerDownException (string? message, int errorCode, string? name);
public ActiveDirectoryServerDownException (string message, int errorCode, string name);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException : string * int * string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException
Public Sub New (message As String, errorCode As Integer, name As String)

参数

message
String

描述错误的消息。

errorCode
Int32

标识错误的错误代码。

name
String

导致错误的服务器的名称。

适用于

ActiveDirectoryServerDownException(String, Exception, Int32, String)

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

使用指定的错误消息、基础异常对象、指定的错误代码和指定的服务器名称初始化 ActiveDirectoryServerDownException 类的新实例。

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

参数

message
String

描述错误的消息。

inner
Exception

包含基础异常信息的 Exception 对象。

errorCode
Int32

标识错误的错误代码。

name
String

导致错误的服务器的名称。

适用于