InputFormatterResult.SuccessAsync(Object) メソッド

定義

Task完了時に操作が成功したことを示す をInputFormatterResult提供する をReadAsync(InputFormatterContext)返します。

public:
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Mvc::Formatters::InputFormatterResult ^> ^ SuccessAsync(System::Object ^ model);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult> SuccessAsync (object model);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult> SuccessAsync (object? model);
static member SuccessAsync : obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.Formatters.InputFormatterResult>
Public Shared Function SuccessAsync (model As Object) As Task(Of InputFormatterResult)

パラメーター

model
Object

逆シリアル化された Object

戻り値

Task完了時に、操作が成功したことを示す を提供InputFormatterResultする ReadAsync(InputFormatterContext) 。つまり、 を使用HasErrorfalseします。

適用対象