InvalidCredentialException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy InvalidCredentialException.

Przeciążenia

InvalidCredentialException()

Inicjuje InvalidCredentialException nowe wystąpienie klasy bez komunikatu.

InvalidCredentialException(String)

Inicjuje nowe wystąpienie klasy InvalidCredentialException z określonym komunikatem.

InvalidCredentialException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie InvalidCredentialException klasy z określonych wystąpień SerializationInfo klas i StreamingContext .

InvalidCredentialException(String, Exception)

Inicjuje InvalidCredentialException nowe wystąpienie klasy z określonym komunikatem i wyjątkiem wewnętrznym.

InvalidCredentialException()

Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs

Inicjuje InvalidCredentialException nowe wystąpienie klasy bez komunikatu.

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

Uwagi

Ten konstruktor nic nie robi.

Dotyczy

InvalidCredentialException(String)

Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs

Inicjuje nowe wystąpienie klasy InvalidCredentialException z określonym komunikatem.

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

Parametry

message
String

Element String opisujący błąd uwierzytelniania.

Uwagi

Ten konstruktor inicjuje Message właściwość za pomocą tekstu w parametrze message . Właściwość InnerException ma ustawioną wartość null.

Zobacz też

Dotyczy

InvalidCredentialException(SerializationInfo, StreamingContext)

Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs

Przestroga

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

Inicjuje nowe wystąpienie InvalidCredentialException klasy z określonych wystąpień SerializationInfo klas i StreamingContext .

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

Parametry

serializationInfo
SerializationInfo

SerializationInfo Wystąpienie zawierające informacje wymagane do deserializacji nowego InvalidCredentialException wystąpienia.

streamingContext
StreamingContext

StreamingContext Wystąpienie.

Atrybuty

Zobacz też

Dotyczy

InvalidCredentialException(String, Exception)

Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs
Źródło:
AuthenticationException.cs

Inicjuje InvalidCredentialException nowe wystąpienie klasy z określonym komunikatem i wyjątkiem wewnętrznym.

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

Parametry

message
String

Element String opisujący błąd uwierzytelniania.

innerException
Exception

Jest to przyczyna Exception bieżącego wyjątku.

Uwagi

Ten konstruktor inicjuje Message właściwość tekstem w parametrze message i inicjuje InnerException właściwość z wartością parametru innerException .

Zobacz też

Dotyczy