Table of Contents

ContentFactory Property

Definition

ContentFactory

Gets or sets the function delegate that will create an instance of HttpContent with input from the specified HttpExceptionDescriptor.

public Func<HttpExceptionDescriptor, HttpContent> ContentFactory { get; set; }

Property Value

Func<HttpExceptionDescriptor, HttpContent>

The function delegate that will create an instance of HttpContent with input from the specified HttpExceptionDescriptor.

Remarks

This property is required and cannot be null.