Response.AuthenticationChallenges 属性

定义

如果状态代码为 401,则将添加到响应中的身份验证质询。 这必须是服务器上启用的 AuthenticationSchemes 的子集。

public:
 property Microsoft::Net::Http::Server::AuthenticationSchemes AuthenticationChallenges { Microsoft::Net::Http::Server::AuthenticationSchemes get(); void set(Microsoft::Net::Http::Server::AuthenticationSchemes value); };
public Microsoft.Net.Http.Server.AuthenticationSchemes AuthenticationChallenges { get; set; }
member this.AuthenticationChallenges : Microsoft.Net.Http.Server.AuthenticationSchemes with get, set
Public Property AuthenticationChallenges As AuthenticationSchemes

属性值

适用于