InputFormatterResult.Success(Object) 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 was successful.
public:
static Microsoft::AspNetCore::Mvc::Formatters::InputFormatterResult ^ Success(System::Object ^ model);
public static Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult Success (object model);
public static Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult Success (object? model);
static member Success : obj -> Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult
Public Shared Function Success (model As Object) As InputFormatterResult
Parameters
Returns
An InputFormatterResult indicating the ReadAsync(InputFormatterContext)
operation succeeded i.e. with HasErrorfalse
.