Udostępnij za pośrednictwem


AuthenticationRequiredException Constructors

Definition

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)

Source:
AuthenticationRequiredException.cs
Source:
AuthenticationRequiredException.cs

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

Applies to

AuthenticationRequiredException(String, TokenRequestContext)

Source:
AuthenticationRequiredException.cs
Source:
AuthenticationRequiredException.cs

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)

Source:
AuthenticationRequiredException.cs
Source:
AuthenticationRequiredException.cs

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.

Applies to