ActiveDirectoryServerDownException Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menginisialisasi instans baru kelas ActiveDirectoryServerDownException.
Overload
ActiveDirectoryServerDownException() |
Menginisialisasi instans baru kelas ActiveDirectoryServerDownException. |
ActiveDirectoryServerDownException(String) |
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan yang ditentukan. |
ActiveDirectoryServerDownException(SerializationInfo, StreamingContext) |
Kedaluwarsa.
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas, menggunakan informasi serialisasi dan konteks streaming yang ditentukan. |
ActiveDirectoryServerDownException(String, Exception) |
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan tertentu dan objek pengecualian yang mendasar. |
ActiveDirectoryServerDownException(String, Int32, String) |
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan tertentu, kode kesalahan tertentu, dan nama server tertentu. |
ActiveDirectoryServerDownException(String, Exception, Int32, String) |
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan tertentu, objek pengecualian yang mendasar, kode kesalahan tertentu, dan nama server tertentu. |
ActiveDirectoryServerDownException()
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
Menginisialisasi instans baru kelas ActiveDirectoryServerDownException.
public:
ActiveDirectoryServerDownException();
public ActiveDirectoryServerDownException ();
Public Sub New ()
Berlaku untuk
ActiveDirectoryServerDownException(String)
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan yang ditentukan.
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)
Parameter
- message
- String
Pesan yang menjelaskan kesalahan.
Berlaku untuk
ActiveDirectoryServerDownException(SerializationInfo, StreamingContext)
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
Perhatian
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas, menggunakan informasi serialisasi dan konteks streaming yang ditentukan.
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)
Parameter
- info
- SerializationInfo
Objek SerializationInfo untuk pengecualian.
- context
- StreamingContext
StreamingContext Untuk pengecualian.
- Atribut
Lihat juga
Berlaku untuk
ActiveDirectoryServerDownException(String, Exception)
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan tertentu dan objek pengecualian yang mendasar.
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)
Parameter
- message
- String
Pesan yang menjelaskan kesalahan.
Berlaku untuk
ActiveDirectoryServerDownException(String, Int32, String)
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan tertentu, kode kesalahan tertentu, dan nama server tertentu.
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)
Parameter
- message
- String
Pesan yang menjelaskan kesalahan.
- errorCode
- Int32
Kode kesalahan yang mengidentifikasi kesalahan.
- name
- String
Nama server yang menyebabkan kesalahan.
Berlaku untuk
ActiveDirectoryServerDownException(String, Exception, Int32, String)
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
- Sumber:
- Exception.cs
Menginisialisasi instans ActiveDirectoryServerDownException baru kelas dengan pesan kesalahan tertentu, objek pengecualian yang mendasar, kode kesalahan tertentu, dan nama server tertentu.
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)
Parameter
- message
- String
Pesan yang menjelaskan kesalahan.
- errorCode
- Int32
Kode kesalahan yang mengidentifikasi kesalahan.
- name
- String
Nama server yang menyebabkan kesalahan.