PrincipalServerDownException Constructors
Definition
Instantiates a new instance of the PrincipalServerDownException class.
Overloads
PrincipalServerDownException() |
Instantiates a new instance of the PrincipalServerDownException class. |
PrincipalServerDownException(String) |
Instantiates a new instance of the PrincipalServerDownException class with the specified error message. |
PrincipalServerDownException(SerializationInfo, StreamingContext) |
Initializes a new instance of the PrincipalServerDownException class from the specified SerializationInfo and StreamingContext instances. |
PrincipalServerDownException(String, Exception) |
Instantiates a new instance of the PrincipalServerDownException class with the specified error message and specified nested exception. |
PrincipalServerDownException(String, Int32) |
Instantiates a new instance of the PrincipalServerDownException class with the specified error message and specified error code. |
PrincipalServerDownException(String, Exception, Int32) |
Instantiates a new instance of the PrincipalServerDownException class with the specified error message, the specified nested exception, and the specified error code. |
PrincipalServerDownException(String, Exception, Int32, String) |
Instantiates a new instance of the PrincipalServerDownException class with the specified error message, the specified nested exception, the specified error code, and the specified server name. |
PrincipalServerDownException()
Instantiates a new instance of the PrincipalServerDownException class.
public:
PrincipalServerDownException();
public PrincipalServerDownException ();
Public Sub New ()
Remarks
The parameterless constructor initializes a new instance of the PrincipalServerDownException class. The Message property is initialized to a system-supplied message that describes the error. This message takes into account the current system culture. The InnerException property is initialized to null
.
PrincipalServerDownException(String)
Instantiates a new instance of the PrincipalServerDownException class with the specified error message.
public:
PrincipalServerDownException(System::String ^ message);
public PrincipalServerDownException (string message);
new System.DirectoryServices.AccountManagement.PrincipalServerDownException : string -> System.DirectoryServices.AccountManagement.PrincipalServerDownException
Public Sub New (message As String)
Parameters
- message
- String
An error message.
Remarks
The PrincipalServerDownException instance is initialized with the Message property set to the value of message
. If message
is null
, the Message property is initialized to a system-supplied message.
PrincipalServerDownException(SerializationInfo, StreamingContext)
Initializes a new instance of the PrincipalServerDownException class from the specified SerializationInfo and StreamingContext instances.
protected:
PrincipalServerDownException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PrincipalServerDownException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.AccountManagement.PrincipalServerDownException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.PrincipalServerDownException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
A SerializationInfo that contains the information required to serialize the new PrincipalServerDownException
- context
- StreamingContext
A StreamingContext that contains the source of the serialized stream that is associated with the new PrincipalServerDownException
PrincipalServerDownException(String, Exception)
Instantiates a new instance of the PrincipalServerDownException class with the specified error message and specified nested exception.
public:
PrincipalServerDownException(System::String ^ message, Exception ^ innerException);
public PrincipalServerDownException (string message, Exception innerException);
new System.DirectoryServices.AccountManagement.PrincipalServerDownException : string * Exception -> System.DirectoryServices.AccountManagement.PrincipalServerDownException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The text of the message.
- innerException
- Exception
A nested exception.
Remarks
The PrincipalServerDownException instance is initialized with the Message property set to the value of message
and the InnerException property set to the value of innerException
. If message
is null
, the Message property is initialized to a system-supplied message. The InnerException is initialized to null
.
PrincipalServerDownException(String, Int32)
Instantiates a new instance of the PrincipalServerDownException class with the specified error message and specified error code.
public:
PrincipalServerDownException(System::String ^ message, int errorCode);
public PrincipalServerDownException (string message, int errorCode);
new System.DirectoryServices.AccountManagement.PrincipalServerDownException : string * int -> System.DirectoryServices.AccountManagement.PrincipalServerDownException
Public Sub New (message As String, errorCode As Integer)
Parameters
- message
- String
The text of the message.
- errorCode
- Int32
An error code.
Remarks
The PrincipalServerDownException instance is initialized with the Message property set to the value of message
and the ErrorCode property set to the value of errorCode
. If message
is null
, the Message property is initialized to a system-supplied message.
PrincipalServerDownException(String, Exception, Int32)
Instantiates a new instance of the PrincipalServerDownException class with the specified error message, the specified nested exception, and the specified error code.
public:
PrincipalServerDownException(System::String ^ message, Exception ^ innerException, int errorCode);
public PrincipalServerDownException (string message, Exception innerException, int errorCode);
new System.DirectoryServices.AccountManagement.PrincipalServerDownException : string * Exception * int -> System.DirectoryServices.AccountManagement.PrincipalServerDownException
Public Sub New (message As String, innerException As Exception, errorCode As Integer)
Parameters
- message
- String
The text of the error message.
- innerException
- Exception
A nested exception.
- errorCode
- Int32
An error code.
Remarks
The PrincipalServerDownException instance is initialized with the Message property set to the value of message
and the InnerException property set to the value of innerException
, and the private errorCode
property is set to errorCode
. If message
is null
, the Message property is initialized to a system-supplied message. The InnerException is initialized to null
.
PrincipalServerDownException(String, Exception, Int32, String)
Instantiates a new instance of the PrincipalServerDownException class with the specified error message, the specified nested exception, the specified error code, and the specified server name.
public:
PrincipalServerDownException(System::String ^ message, Exception ^ innerException, int errorCode, System::String ^ serverName);
public PrincipalServerDownException (string message, Exception innerException, int errorCode, string serverName);
new System.DirectoryServices.AccountManagement.PrincipalServerDownException : string * Exception * int * string -> System.DirectoryServices.AccountManagement.PrincipalServerDownException
Public Sub New (message As String, innerException As Exception, errorCode As Integer, serverName As String)
Parameters
- message
- String
The text of the message.
- innerException
- Exception
A nested exception.
- errorCode
- Int32
An error code.
- serverName
- String
A server name.
Remarks
The PrincipalServerDownException instance is initialized with the Message property set to the value of message
and the InnerException property set to the value of innerException
, the private errorCode
property is set to errorCode
, and the private serverName
property is set to serverName
. If message
is null
, the Message property is initialized to a system-supplied message. The InnerException is initialized to null
.