Table of Contents

Class ExceptionExtensions

Namespace
DocuWare.Services.Http.Client
Assembly
DocuWare.RestClient.dll

Extensions for AggregateException

public static class ExceptionExtensions
Inheritance
ExceptionExtensions
Inherited Members

Methods

GetInnerMostException(Exception)

Gets the inner most exception.

public static Exception GetInnerMostException(this Exception exception)

Parameters

TypeNameDescription
Exceptionexception

The exception.

Returns

TypeDescription
Exception

The innermost exception.

GetRealException(AggregateException)

Gets the real exception of an AggregateException instance.

public static Exception GetRealException(this AggregateException aggregateException)

Parameters

TypeNameDescription
AggregateExceptionaggregateException

The aggregate exception.

Returns

TypeDescription
Exception

The first non-AggregateException in the hierarchy of aggregated exceptions.