Table of Contents

StatusCodeFactory Property

Definition

StatusCodeFactory

Gets or sets the function delegate that will return a HttpStatusCode value with input from the specified HttpExceptionDescriptor.

public Func<HttpExceptionDescriptor, HttpStatusCode> StatusCodeFactory { get; set; }

Property Value

Func<HttpExceptionDescriptor, HttpStatusCode>

The function delegate that will return a HttpStatusCode value with input from the specified HttpExceptionDescriptor.

Remarks

This property is required and cannot be null.