AuthenticationException Constructors

Definitie

Initialiseert een nieuw exemplaar van de AuthenticationException klasse.

Overloads

Name Description
AuthenticationException()

Initialiseert een nieuw exemplaar van de AuthenticationException klasse zonder bericht.

AuthenticationException(String)

Initialiseert een nieuw exemplaar van de AuthenticationException klasse met het opgegeven bericht.

AuthenticationException(SerializationInfo, StreamingContext)
Verouderd.

Initialiseert een nieuw exemplaar van de AuthenticationException klasse op basis van de opgegeven exemplaren van de SerializationInfo en StreamingContext klassen.

AuthenticationException(String, Exception)

Initialiseert een nieuw exemplaar van de AuthenticationException klasse met het opgegeven bericht en de interne uitzondering.

AuthenticationException()

Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs

Initialiseert een nieuw exemplaar van de AuthenticationException klasse zonder bericht.

public:
 AuthenticationException();
public AuthenticationException();
Public Sub New ()

Opmerkingen

Deze constructor doet niets.

Van toepassing op

AuthenticationException(String)

Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs

Initialiseert een nieuw exemplaar van de AuthenticationException klasse met het opgegeven bericht.

public:
 AuthenticationException(System::String ^ message);
public AuthenticationException(string? message);
public AuthenticationException(string message);
new System.Security.Authentication.AuthenticationException : string -> System.Security.Authentication.AuthenticationException
Public Sub New (message As String)

Parameters

message
String

Een String die de verificatiefout beschrijft.

Opmerkingen

Met deze constructor wordt de Message eigenschap geïnitialiseerd met de tekst in de message parameter. De eigenschap InnerException is ingesteld op null.

Zie ook

Van toepassing op

AuthenticationException(SerializationInfo, StreamingContext)

Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs

Let op

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initialiseert een nieuw exemplaar van de AuthenticationException klasse op basis van de opgegeven exemplaren van de SerializationInfo en StreamingContext klassen.

protected:
 AuthenticationException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[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 AuthenticationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected AuthenticationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<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.Security.Authentication.AuthenticationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Authentication.AuthenticationException
new System.Security.Authentication.AuthenticationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Authentication.AuthenticationException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameters

serializationInfo
SerializationInfo

Een SerializationInfo exemplaar dat de informatie bevat die nodig is om het nieuwe AuthenticationException exemplaar te deserialiseren.

streamingContext
StreamingContext

Een StreamingContext exemplaar.

Kenmerken

Zie ook

Van toepassing op

AuthenticationException(String, Exception)

Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs
Bron:
AuthenticationException.cs

Initialiseert een nieuw exemplaar van de AuthenticationException klasse met het opgegeven bericht en de interne uitzondering.

public:
 AuthenticationException(System::String ^ message, Exception ^ innerException);
public AuthenticationException(string? message, Exception? innerException);
public AuthenticationException(string message, Exception innerException);
new System.Security.Authentication.AuthenticationException : string * Exception -> System.Security.Authentication.AuthenticationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Een String die de verificatiefout beschrijft.

innerException
Exception

Dit Exception is de oorzaak van de huidige uitzondering.

Opmerkingen

Deze constructor initialiseert de Message eigenschap met de tekst in de message parameter en initialiseert de InnerException eigenschap met de innerException parameterwaarde.

Zie ook

Van toepassing op