共用方式為


Results.Unauthorized 方法

定義

Status401Unauthorized產生回應。

public static Microsoft.AspNetCore.Http.IResult Unauthorized ();
static member Unauthorized : unit -> Microsoft.AspNetCore.Http.IResult
Public Shared Function Unauthorized () As IResult

傳回

為回應建立 IResult 的 。

適用於