Partager via


IClientErrorFactory.GetClientError Méthode

Définition

clientError Transforme pour le spécifiéactionContext.

public:
 Microsoft::AspNetCore::Mvc::IActionResult ^ GetClientError(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::Infrastructure::IClientErrorActionResult ^ clientError);
public Microsoft.AspNetCore.Mvc.IActionResult GetClientError (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult clientError);
public Microsoft.AspNetCore.Mvc.IActionResult? GetClientError (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult clientError);
abstract member GetClientError : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult -> Microsoft.AspNetCore.Mvc.IActionResult
Public Function GetClientError (actionContext As ActionContext, clientError As IClientErrorActionResult) As IActionResult

Paramètres

actionContext
ActionContext

L’ActionContextopérateur

Retours

IActionResult qui serait retourné au client.

S’applique à