NoMatchingPrincipalException 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.
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse.
Überlädt
| Name | Beschreibung |
|---|---|
| NoMatchingPrincipalException() |
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse. |
| NoMatchingPrincipalException(String) |
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse mit der angegebenen Fehlermeldung. |
| NoMatchingPrincipalException(SerializationInfo, StreamingContext) |
Veraltet.
Initialisiert eine neue Instanz der NoMatchingPrincipalException Klasse aus den angegebenen SerializationInfo Instanzen und StreamingContext Instanzen. |
| NoMatchingPrincipalException(String, Exception) |
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse mit der angegebenen Fehlermeldung und der angegebenen geschachtelten Ausnahme. |
NoMatchingPrincipalException()
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse.
public:
NoMatchingPrincipalException();
public NoMatchingPrincipalException();
Public Sub New ()
Hinweise
Der parameterlose Konstruktor initialisiert eine neue Instanz der NoMatchingPrincipalException Klasse. Die Message Eigenschaft wird in eine vom System bereitgestellte Meldung initialisiert, die den Fehler beschreibt. Diese Meldung berücksichtigt die aktuelle Systemkultur. Die InnerException-Eigenschaft wird mit null initialisiert.
Gilt für:
NoMatchingPrincipalException(String)
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse mit der angegebenen Fehlermeldung.
public:
NoMatchingPrincipalException(System::String ^ message);
public NoMatchingPrincipalException(string message);
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : string -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
Public Sub New (message As String)
Parameter
- message
- String
Der Text der Fehlermeldung.
Hinweise
Die NoMatchingPrincipalException Instanz wird mit der Eigenschaft initialisiert, die Message auf den Wert von message. Wenn message ja null, wird die Message Eigenschaft in eine vom System bereitgestellte Nachricht initialisiert.
Gilt für:
NoMatchingPrincipalException(SerializationInfo, StreamingContext)
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
Achtung
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initialisiert eine neue Instanz der NoMatchingPrincipalException Klasse aus den angegebenen SerializationInfo Instanzen und StreamingContext Instanzen.
protected:
NoMatchingPrincipalException(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 NoMatchingPrincipalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected NoMatchingPrincipalException(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.AccountManagement.NoMatchingPrincipalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameter
- info
- SerializationInfo
Eine SerializationInfo , die die zum Serialisieren der neuen NoMatchingPrincipalExceptionInformationen erforderlichen Informationen enthält.
- context
- StreamingContext
A StreamingContext that contains the source of the serialized stream that is associated with the new NoMatchingPrincipalException.
- Attribute
Gilt für:
NoMatchingPrincipalException(String, Exception)
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
- Quelle:
- exceptions.cs
Instanziiert eine neue Instanz der NoMatchingPrincipalException Klasse mit der angegebenen Fehlermeldung und der angegebenen geschachtelten Ausnahme.
public:
NoMatchingPrincipalException(System::String ^ message, Exception ^ innerException);
public NoMatchingPrincipalException(string message, Exception innerException);
new System.DirectoryServices.AccountManagement.NoMatchingPrincipalException : string * Exception -> System.DirectoryServices.AccountManagement.NoMatchingPrincipalException
Public Sub New (message As String, innerException As Exception)
Parameter
- message
- String
Der Text der Nachricht.
- innerException
- Exception
Eine geschachtelte Ausnahme.
Hinweise
Die NoMatchingPrincipalException Instanz wird initialisiert, wobei die Message Eigenschaft auf den Wert message festgelegt ist, und die InnerException Eigenschaft auf den Wert von innerException. Wenn message ja null, wird die Message Eigenschaft in eine vom System bereitgestellte Nachricht initialisiert. Die InnerException Initialisierung erfolgt in null.