InputFormatterResult.Failure メソッド

定義

操作が InputFormatterResult 失敗したことを示す を ReadAsync(InputFormatterContext) 返します。

public:
 static Microsoft::AspNetCore::Mvc::Formatters::InputFormatterResult ^ Failure();
public static Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult Failure ();
static member Failure : unit -> Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult
Public Shared Function Failure () As InputFormatterResult

戻り値

InputFormatterResult操作がReadAsync(InputFormatterContext)失敗したことをHasErrortrue示す 。

適用対象