InputFormatterResult.Success(Object) Metoda

Definice

InputFormatterResult Vrátí indikující, že ReadAsync(InputFormatterContext) operace byla úspěšná.

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

Parametry

model
Object

Deserializovaný Object.

Návraty

InputFormatterResult

Indikující InputFormatterResult , že ReadAsync(InputFormatterContext) operace byla úspěšná, tj. s HasErrorfalse.

Platí pro