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