ExceptionExtensions.Unwind ExceptionExtensions.Unwind Method

Definition

Overloads

Unwind(Exception) Unwind(Exception)
Unwind(Exception, Type[]) Unwind(Exception, Type[])
Unwind<TException>(Exception) Unwind<TException>(Exception)

Unwind(Exception) Unwind(Exception)

public static System.Collections.Generic.IEnumerable<Exception> Unwind (this Exception exception);
static member Unwind : Exception -> seq<Exception>

Parameters

exception
Exception Exception

Returns

Unwind(Exception, Type[]) Unwind(Exception, Type[])

public static System.Collections.Generic.IEnumerable<Exception> Unwind (this Exception exception, params Type[] targetTypes);
static member Unwind : Exception * Type[] -> seq<Exception>

Parameters

exception
Exception Exception
targetTypes
Type[]

Returns

Unwind<TException>(Exception) Unwind<TException>(Exception)

public static System.Collections.Generic.IEnumerable<TException> Unwind<TException> (this Exception exception);
static member Unwind : Exception -> seq<'Exception>

Type Parameters

TException

Parameters

exception
Exception Exception

Returns

IEnumerable<TException>

Applies to