InputFormatterResult.Success(Object) Method

Definition

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

model
Object

The deserialized Object.

Returns

An InputFormatterResult indicating the ReadAsync(InputFormatterContext) operation succeeded i.e. with HasErrorfalse.

Applies to