InputFormatterResult.Failure Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation failed.
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
Returns
An InputFormatterResult indicating the ReadAsync(InputFormatterContext)
operation failed i.e. with HasErrortrue
.