| AsyncHelpersGetCombinedException Method |
Gets the combined exception from all exceptions in the list.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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