ControllerBase.Unauthorized メソッド

定義

オーバーロード

Unauthorized(Object)

Status401Unauthorized 応答を生成する UnauthorizedObjectResult を作成します。

Unauthorized()

Status401Unauthorized 応答を生成する UnauthorizedResult を作成します。

Unauthorized(Object)

ソース:
ControllerBase.cs
ソース:
ControllerBase.cs

Status401Unauthorized 応答を生成する UnauthorizedObjectResult を作成します。

public:
 virtual Microsoft::AspNetCore::Mvc::UnauthorizedObjectResult ^ Unauthorized(System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult Unauthorized (object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult Unauthorized (object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Unauthorized : obj -> Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult
override this.Unauthorized : obj -> Microsoft.AspNetCore.Mvc.UnauthorizedObjectResult
Public Overridable Function Unauthorized (value As Object) As UnauthorizedObjectResult

パラメーター

value
Object

戻り値

応答用に作成された UnauthorizedObjectResult

属性

適用対象

Unauthorized()

ソース:
ControllerBase.cs
ソース:
ControllerBase.cs
ソース:
ControllerBase.cs

Status401Unauthorized 応答を生成する UnauthorizedResult を作成します。

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

戻り値

応答用に作成された UnauthorizedResult

属性

適用対象