ActiveDirectoryServerDownException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ActiveDirectoryServerDownException class.
Overloads
ActiveDirectoryServerDownException() |
Initializes a new instance of the ActiveDirectoryServerDownException class. |
ActiveDirectoryServerDownException(String) |
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message. |
ActiveDirectoryServerDownException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the ActiveDirectoryServerDownException class, using the specified serialization information and streaming context. |
ActiveDirectoryServerDownException(String, Exception) |
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message and an underlying exception object. |
ActiveDirectoryServerDownException(String, Int32, String) |
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message, a specified error code, and a specified server name. |
ActiveDirectoryServerDownException(String, Exception, Int32, String) |
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message, an underlying exception object, a specified error code, and a specified server name. |
ActiveDirectoryServerDownException()
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryServerDownException class.
public:
ActiveDirectoryServerDownException();
public ActiveDirectoryServerDownException ();
Public Sub New ()
Applies to
ActiveDirectoryServerDownException(String)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message.
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)
Parameters
- message
- String
A message that describes the error.
Applies to
ActiveDirectoryServerDownException(SerializationInfo, StreamingContext)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Caution
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initializes a new instance of the ActiveDirectoryServerDownException class, using the specified serialization information and streaming 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);
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}")>]
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException
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)
Parameters
- info
- SerializationInfo
The SerializationInfo object for the exception.
- context
- StreamingContext
The StreamingContext for the exception.
- Attributes
See also
Applies to
ActiveDirectoryServerDownException(String, Exception)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message and an underlying exception object.
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)
Parameters
- message
- String
A message that describes the error.
Applies to
ActiveDirectoryServerDownException(String, Int32, String)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message, a specified error code, and a specified server name.
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)
Parameters
- message
- String
A message that describes the error.
- errorCode
- Int32
An error code that identifies the error.
- name
- String
The name of the server that caused the error.
Applies to
ActiveDirectoryServerDownException(String, Exception, Int32, String)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the ActiveDirectoryServerDownException class with a specified error message, an underlying exception object, a specified error code, and a specified server name.
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)
Parameters
- message
- String
A message that describes the error.
- errorCode
- Int32
An error code that identifies the error.
- name
- String
The name of the server that caused the error.