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

AuthenticationRequiredException Constructors

Definition

Overloads

Name Description
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