CreateErrorResponse(HttpRequestMessage, HttpStatusCode, Exception) Method

// .NET Standard 1.6 + Platform Extensions
// Microsoft.AspNetCore.Mvc.WebApiCompatShim, Version=1.1.1.0, PublicKeyToken=adb9793829ddae60

namespace System.Net.Http
{
    public static class HttpRequestMessageExtensions
    {
        public static HttpResponseMessage CreateErrorResponse(this HttpRequestMessage request, HttpStatusCode statusCode, Exception exception);
    }
}

Usage

Metadata

ID
M:System.Net.Http.HttpRequestMessageExtensions.CreateErrorResponse(System.Net.Http.HttpRequestMessage,System.Net.HttpStatusCode,System.Exception)

Declarations

Platform Version Assembly
.NET Standard + Platform Extensions 1.6 Microsoft.AspNetCore.Mvc.WebApiCompatShim, Version=1.1.1.0, PublicKeyToken=adb9793829ddae60