CredentialUnavailableException 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
CredentialUnavailableException(String) |
Creates a new CredentialUnavailableException with the specified message. |
CredentialUnavailableException(SerializationInfo, StreamingContext) |
A constructor used for serialization. |
CredentialUnavailableException(String, Exception) |
Creates a new CredentialUnavailableException with the specified message. |
CredentialUnavailableException(String)
Creates a new CredentialUnavailableException with the specified message.
public CredentialUnavailableException (string message);
new Azure.Identity.CredentialUnavailableException : string -> Azure.Identity.CredentialUnavailableException
Public Sub New (message As String)
Parameters
- message
- String
The message describing the authentication failure.
Applies to
CredentialUnavailableException(SerializationInfo, StreamingContext)
A constructor used for serialization.
protected CredentialUnavailableException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Azure.Identity.CredentialUnavailableException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Azure.Identity.CredentialUnavailableException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo.
- context
- StreamingContext
The StreamingContext.
Applies to
CredentialUnavailableException(String, Exception)
Creates a new CredentialUnavailableException with the specified message.
public CredentialUnavailableException (string message, Exception innerException);
new Azure.Identity.CredentialUnavailableException : string * Exception -> Azure.Identity.CredentialUnavailableException
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.