Table of Contents

AddExceptionDescriptorOptions Method

Definition

AddExceptionDescriptorOptions(IServiceCollection, Action<ExceptionDescriptorOptions>)

Registers the specified setup to configure ExceptionDescriptorOptions in the services collection.

public static IServiceCollection AddExceptionDescriptorOptions(this IServiceCollection services, Action<ExceptionDescriptorOptions> setup = null)

Parameters

services IServiceCollection

The IServiceCollection to extend.

setup Action<ExceptionDescriptorOptions>

The ExceptionDescriptorOptions that may be configured.

Returns

IServiceCollection

A reference to services so that additional configuration calls can be chained.