Click or drag to resize

CodedException Constructor (Int32, String, Exception)

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

Initializes a new instance of the CodedException class with a specified HRESULT value, error message and a reference to the inner exception that is the cause of this exception.

Namespace:  NerdyDuck.CodedExceptions
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public CodedException(
	int hresult,
	string message,
	Exception innerException
)
View Source

Parameters

hresult
Type: SystemInt32
The HRESULT that describes the error.
message
Type: SystemString
The message that describes the error.
innerException
Type: SystemException
The exception that is the cause of the current exception, or if no inner exception is specified.
Remarks
See the HRESULT definition at MSDN for more information about the definition of HRESULT values.
See Also