Table of Contents

AddExceptionDescriptorConverter Method

Definition

AddExceptionDescriptorConverter(IList<XmlConverter>, Action<ExceptionDescriptorOptions>)

Adds an ExceptionDescriptor XML converter to the list.

public static IList<XmlConverter> AddExceptionDescriptorConverter(this IList<XmlConverter> converters, Action<ExceptionDescriptorOptions> setup)

Parameters

converters IList<XmlConverter>

The IList<T> to extend.

setup Action<ExceptionDescriptorOptions>

The ExceptionDescriptorOptions which need to be configured.

Returns

IList<XmlConverter>

A reference to converters after the operation has completed.

Exceptions

ArgumentNullException

converters cannot be null.