次の方法で共有


Results.InternalServerError メソッド

定義

オーバーロード

InternalServerError()

Status500InternalServerError 応答を生成します。

InternalServerError<TValue>(TValue)

Status500InternalServerError 応答を生成します。

InternalServerError()

Status500InternalServerError 応答を生成します。

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

戻り値

応答用に作成された IResult

適用対象

InternalServerError<TValue>(TValue)

Status500InternalServerError 応答を生成します。

public static Microsoft.AspNetCore.Http.IResult InternalServerError<TValue> (TValue? error);
static member InternalServerError : 'Value -> Microsoft.AspNetCore.Http.IResult
Public Shared Function InternalServerError(Of TValue) (error As TValue) As IResult

型パラメーター

TValue

パラメーター

error
TValue

HTTP 応答本文に含めるエラー オブジェクト。

戻り値

応答用に作成された IResult

適用対象