Table of Contents

CreateDefaultFallbackHandler Method

Definition

CreateDefaultFallbackHandler(FaultSensitivityDetails)

Creates a scaled down HttpExceptionDescriptorResponseHandler suitable as fallback handler for when content negotiation fails.

public static HttpExceptionDescriptorResponseHandler CreateDefaultFallbackHandler(FaultSensitivityDetails sensitivityDetails)

Parameters

sensitivityDetails FaultSensitivityDetails

The bitwise combination of the enumeration values that specify which sensitive details to include in the serialized result.

Returns

HttpExceptionDescriptorResponseHandler

A new instance of a scaled down HttpExceptionDescriptorResponseHandler.

Remarks

This scaled down implementation of a fallback handler requires All to provide developer friendly insights about an Exception. Do not use in Production environment.