Freigeben über


InputFormatterResult.Success(Object) Methode

Definition

Gibt einen InputFormatterResult zurück, der angibt, dass der ReadAsync(InputFormatterContext) Vorgang erfolgreich war.

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

Parameter

model
Object

Das deserialisierte Object.

Gibt zurück

Ein InputFormatterResult , der angibt, dass der ReadAsync(InputFormatterContext) Vorgang erfolgreich war, d. h. mit HasErrorfalse.

Gilt für: