Aracılığıyla paylaş


PageModel.Unauthorized Yöntem

Tanım

UnauthorizedResult Yanıt üreten bir Status401Unauthorized oluşturur.

public:
 virtual Microsoft::AspNetCore::Mvc::UnauthorizedResult ^ Unauthorized();
public virtual Microsoft.AspNetCore.Mvc.UnauthorizedResult Unauthorized ();
abstract member Unauthorized : unit -> Microsoft.AspNetCore.Mvc.UnauthorizedResult
override this.Unauthorized : unit -> Microsoft.AspNetCore.Mvc.UnauthorizedResult
Public Overridable Function Unauthorized () As UnauthorizedResult

Döndürülenler

Yanıt için oluşturulan UnauthorizedResult .

Şunlara uygulanır