共用方式為


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

屬性值

適用於