ActiveDirectoryServerDownException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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()
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
初始化 ActiveDirectoryServerDownException 類別的新實例。
public:
ActiveDirectoryServerDownException();
public ActiveDirectoryServerDownException ();
Public Sub New ()
適用於
ActiveDirectoryServerDownException(String)
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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)
- 來源:
- 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.
使用指定的串行化資訊和串流內容,初始化 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)
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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
描述錯誤的訊息。
適用於
ActiveDirectoryServerDownException(String, Int32, String)
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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)
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- Exception.cs
- 來源:
- 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
描述錯誤的訊息。
- errorCode
- Int32
識別錯誤的錯誤碼。
- name
- String
造成錯誤的伺服器名稱。