[This is preliminary documentation and is subject to change.]

Gets exception or null based items in given collction

Namespace: Tools.ComponentModelT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public static Exception GetException(
	IEnumerable<Exception> Exceptions
)
Visual Basic
Public Shared Function GetException ( _
	Exceptions As IEnumerable(Of Exception) _
) As Exception
Visual C++
public:
static Exception^ GetException(
	IEnumerable<Exception^>^ Exceptions
)
F#
static member GetException : 
        Exceptions:IEnumerable<Exception> -> Exception 
JScript
public static function GetException(
	Exceptions : IEnumerable<Exception>
) : Exception

Parameters

Exceptions
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Exception>)>)>
Exception that have occured

Return Value

Null when Exceptions is null or empty; first item from Exceptions when it has only one item; MultipleException whan Exceptions contains more than one item.

See Also