IClientErrorFactory.GetClientError Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms clientError for the specified 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
	Parameters
- actionContext
 - ActionContext
 
The ActionContext.
- clientError
 - IClientErrorActionResult
 
Returns
The IActionResult that would be returned to the client.