Click or drag to resize

CodedAggregateException Constructor (Int32, String)

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

Initializes a new instance of the CodedAggregateException class with a specified HRESULT value and a message that describes the error.

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

Parameters

hresult
Type: SystemInt32
The HRESULT that describes the error.
message
Type: SystemString
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
Remarks
See the HRESULT definition at MSDN for more information about the definition of HRESULT values.
See Also