DirectoryException Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Der DirectoryException() Konstruktor erstellt eine Instanz der DirectoryException Klasse.
Überlädt
| Name | Beschreibung |
|---|---|
| DirectoryException() |
Der DirectoryException() Konstruktor erstellt eine Instanz der DirectoryException Klasse. |
| DirectoryException(String) |
Der DirectoryException(String) Konstruktor erstellt eine Instanz der DirectoryException Klasse mithilfe des angegebenen Parameters. |
| DirectoryException(SerializationInfo, StreamingContext) |
Veraltet.
Der DirectoryException(SerializationInfo, StreamingContext) Konstruktor erstellt eine Instanz der Klasse mithilfe der DirectoryException angegebenen Serialisierungsinformationen und Streamingkontextinformationen. |
| DirectoryException(String, Exception) |
Der DirectoryException(String, Exception) Konstruktor erstellt eine Instanz der Klasse mithilfe der DirectoryException angegebenen Parameter. |
DirectoryException()
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
Der DirectoryException() Konstruktor erstellt eine Instanz der DirectoryException Klasse.
public:
DirectoryException();
public DirectoryException();
Public Sub New ()
Gilt für:
DirectoryException(String)
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
Der DirectoryException(String) Konstruktor erstellt eine Instanz der DirectoryException Klasse mithilfe des angegebenen Parameters.
public:
DirectoryException(System::String ^ message);
public DirectoryException(string message);
new System.DirectoryServices.Protocols.DirectoryException : string -> System.DirectoryServices.Protocols.DirectoryException
Public Sub New (message As String)
Parameter
- message
- String
Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme ausgelöst wird.
Gilt für:
DirectoryException(SerializationInfo, StreamingContext)
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
Achtung
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Der DirectoryException(SerializationInfo, StreamingContext) Konstruktor erstellt eine Instanz der Klasse mithilfe der DirectoryException angegebenen Serialisierungsinformationen und Streamingkontextinformationen.
protected:
DirectoryException(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 DirectoryException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected DirectoryException(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.Protocols.DirectoryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.DirectoryException
new System.DirectoryServices.Protocols.DirectoryException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.DirectoryException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameter
- info
- SerializationInfo
Die serialisierten Objektdaten über die ausgelöste Ausnahme.
- context
- StreamingContext
Die kontextbezogenen Informationen zur Quelle oder zum Ziel.
- Attribute
Gilt für:
DirectoryException(String, Exception)
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
- Quelle:
- DirectoryException.cs
Der DirectoryException(String, Exception) Konstruktor erstellt eine Instanz der Klasse mithilfe der DirectoryException angegebenen Parameter.
public:
DirectoryException(System::String ^ message, Exception ^ inner);
public DirectoryException(string message, Exception inner);
new System.DirectoryServices.Protocols.DirectoryException : string * Exception -> System.DirectoryServices.Protocols.DirectoryException
Public Sub New (message As String, inner As Exception)
Parameter
- message
- String
Die Meldung, die dem Client angezeigt wird, wenn die Ausnahme ausgelöst wird.
- inner
- Exception
Wenn InnerExceptionvorhanden, wurde die Ausnahme ausgelöst.