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