NoMatchingPrincipalException Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Instantieert een nieuw exemplaar van de NoMatchingPrincipalException klasse.
Overloads
| Name | Description |
|---|---|
| NoMatchingPrincipalException() |
Instantieert een nieuw exemplaar van de NoMatchingPrincipalException klasse. |
| NoMatchingPrincipalException(String) |
Hiermee wordt een nieuw exemplaar van de NoMatchingPrincipalException klasse geïnstitueerd met het opgegeven foutbericht. |
| NoMatchingPrincipalException(SerializationInfo, StreamingContext) |
Initialiseert een nieuw exemplaar van de NoMatchingPrincipalException klasse van de opgegeven SerializationInfo en StreamingContext exemplaren. |
| NoMatchingPrincipalException(String, Exception) |
Hiermee wordt een nieuw exemplaar van de NoMatchingPrincipalException klasse geïnstitueerd met het opgegeven foutbericht en de opgegeven geneste uitzondering. |
NoMatchingPrincipalException()
Instantieert een nieuw exemplaar van de NoMatchingPrincipalException klasse.
public:
NoMatchingPrincipalException();
public NoMatchingPrincipalException();
Public Sub New ()
Opmerkingen
De constructor zonder parameter initialiseert een nieuw exemplaar van de NoMatchingPrincipalException klasse. De Message eigenschap wordt geïnitialiseerd naar een door het systeem opgegeven bericht waarin de fout wordt beschreven. Dit bericht houdt rekening met de huidige systeemcultuur. De InnerException eigenschap wordt geïnitialiseerd naar null.
Van toepassing op
NoMatchingPrincipalException(String)
Hiermee wordt een nieuw exemplaar van de NoMatchingPrincipalException klasse geïnstitueerd met het opgegeven foutbericht.
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)
Parameters
- message
- String
De tekst van het foutbericht.
Opmerkingen
Het NoMatchingPrincipalException exemplaar wordt geïnitialiseerd met de Message eigenschap ingesteld op de waarde van message. Als message dat het is null, wordt de eigenschap geïnitialiseerd naar een door het Message systeem opgegeven bericht.
Van toepassing op
NoMatchingPrincipalException(SerializationInfo, StreamingContext)
Initialiseert een nieuw exemplaar van de NoMatchingPrincipalException klasse van de opgegeven SerializationInfo en StreamingContext exemplaren.
protected:
NoMatchingPrincipalException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected NoMatchingPrincipalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
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)
Parameters
- info
- SerializationInfo
Een SerializationInfo die de informatie bevat die nodig is om de nieuwe NoMatchingPrincipalExceptionte serialiseren.
- context
- StreamingContext
Een StreamingContext die de bron bevat van de geserialiseerde stroom die is gekoppeld aan de nieuwe NoMatchingPrincipalException.
Van toepassing op
NoMatchingPrincipalException(String, Exception)
Hiermee wordt een nieuw exemplaar van de NoMatchingPrincipalException klasse geïnstitueerd met het opgegeven foutbericht en de opgegeven geneste uitzondering.
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)
Parameters
- message
- String
De tekst van het bericht.
- innerException
- Exception
Een geneste uitzondering.
Opmerkingen
Het NoMatchingPrincipalException exemplaar wordt geïnitialiseerd met de Message eigenschap ingesteld op de waarde van message en de InnerException eigenschap ingesteld op de waarde van innerException. Als message dat het is null, wordt de eigenschap geïnitialiseerd naar een door het Message systeem opgegeven bericht. De InnerException is geïnitialiseerd tot null.