Click or drag to resize

CodedAggregateException Constructor (Int32, Exception)

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

Initializes a new instance of the CodedAggregateException class with a specified HRESULT value and references to the inner exceptions that are the cause of this exception.

Namespace:  NerdyDuck.CodedExceptions
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public CodedAggregateException(
	int hresult,
	params Exception[] innerExceptions
)
View Source

Parameters

hresult
Type: SystemInt32
The HRESULT that describes the error.
innerExceptions
Type: SystemException
The exceptions that are the cause of the current exception.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe innerExceptions argument is .
ArgumentExceptionAn element of innerExceptions is .
Remarks
See the HRESULT definition at MSDN for more information about the definition of HRESULT values.
See Also