AuthenticationFailedException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AuthenticationFailedException(String) |
Creates a new AuthenticationFailedException with the specified message. |
AuthenticationFailedException(SerializationInfo, StreamingContext) |
A constructor used for serialization. |
AuthenticationFailedException(String, Exception) |
Creates a new AuthenticationFailedException with the specified message. |
AuthenticationFailedException(String)
Creates a new AuthenticationFailedException with the specified message.
public AuthenticationFailedException (string message);
new Azure.Identity.AuthenticationFailedException : string -> Azure.Identity.AuthenticationFailedException
Public Sub New (message As String)
Parameters
- message
- String
The message describing the authentication failure.
Applies to
AuthenticationFailedException(SerializationInfo, StreamingContext)
A constructor used for serialization.
protected AuthenticationFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Azure.Identity.AuthenticationFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Azure.Identity.AuthenticationFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo.
- context
- StreamingContext
The StreamingContext.
Applies to
AuthenticationFailedException(String, Exception)
Creates a new AuthenticationFailedException with the specified message.
public AuthenticationFailedException (string message, Exception innerException);
new Azure.Identity.AuthenticationFailedException : string * Exception -> Azure.Identity.AuthenticationFailedException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message describing the authentication failure.
- innerException
- Exception
The exception underlying the authentication failure.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för