C# Class Microsoft.R.Host.Broker.ApiErrorResult

Inheritance: Microsoft.AspNetCore.Mvc.ObjectResult
Show file Open project: Microsoft/RTVS

Public Methods

Method Description
ApiErrorResult ( BrokerApiError error, string message = null ) : System.Threading.Tasks
ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task

Method Details

ApiErrorResult() public method

public ApiErrorResult ( BrokerApiError error, string message = null ) : System.Threading.Tasks
error BrokerApiError
message string
return System.Threading.Tasks

ExecuteResultAsync() public method

public ExecuteResultAsync ( Microsoft.AspNetCore.Mvc.ActionContext context ) : System.Threading.Tasks.Task
context Microsoft.AspNetCore.Mvc.ActionContext
return System.Threading.Tasks.Task