Udostępnij za pośrednictwem


ObjectResultExecutor.ExecuteAsync(ActionContext, ObjectResult) Metoda

Definicja

Wykonuje polecenie ObjectResult.

public:
 virtual System::Threading::Tasks::Task ^ ExecuteAsync(Microsoft::AspNetCore::Mvc::ActionContext ^ context, Microsoft::AspNetCore::Mvc::ObjectResult ^ result);
public virtual System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Mvc.ActionContext context, Microsoft.AspNetCore.Mvc.ObjectResult result);
abstract member ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ObjectResult -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ObjectResult -> System.Threading.Tasks.Task
Public Overridable Function ExecuteAsync (context As ActionContext, result As ObjectResult) As Task

Parametry

context
ActionContext

Wartość ActionContext dla bieżącego żądania.

result
ObjectResult

Element ObjectResult.

Zwraca

Element Task , który zostanie ukończony po zapisaniu ObjectResult w odpowiedzi.

Implementuje

Dotyczy