Condividi tramite


PageBase.Unauthorized Metodo

Definizione

Crea un oggetto UnauthorizedResult che produce una Status401Unauthorized risposta.

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

Restituisce

Oggetto creato UnauthorizedResult per la risposta.

Si applica a