你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AuthenticationRequiredException Class

Definition

An exception indicating that interactive authentication is required.

[System.Serializable]
public class AuthenticationRequiredException : Azure.Identity.CredentialUnavailableException
[<System.Serializable>]
type AuthenticationRequiredException = class
    inherit CredentialUnavailableException
Public Class AuthenticationRequiredException
Inherits CredentialUnavailableException
Inheritance
Attributes

Constructors

AuthenticationRequiredException(SerializationInfo, StreamingContext)

A constructor used for serialization.

AuthenticationRequiredException(String, TokenRequestContext, Exception)

Creates a new AuthenticationRequiredException with the specified message, context and inner exception.

AuthenticationRequiredException(String, TokenRequestContext)

Creates a new AuthenticationRequiredException with the specified message and context.

Properties

TokenRequestContext

The details of the authentication request which resulted in the authentication failure.

Applies to