| AsyncHelpersGetCombinedException Method |
Gets the combined exception from all exceptions in the list.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax public static Exception GetCombinedException(
IList<Exception> exceptions
)
Public Shared Function GetCombinedException (
exceptions As IList(Of Exception)
) As Exception
Dim exceptions As IList(Of Exception)
Dim returnValue As Exception
returnValue = AsyncHelpers.GetCombinedException(exceptions)
static member GetCombinedException :
exceptions : IList<Exception> -> Exception
Parameters
- exceptions
- Type: System.Collections.GenericIListException
The exceptions.
Return Value
Type:
ExceptionCombined exception or null if no exception was thrown.
See Also