Click or drag to resize

CodedInvalidDataException Constructor (Int32)

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

Initializes a new instance of the CodedInvalidDataException class with a specified HRESULT value.

Namespace:  NerdyDuck.CodedExceptions.IO
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public CodedInvalidDataException(
	int hresult
)
View Source

Parameters

hresult
Type: SystemInt32
The HRESULT that describes the error.
Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, such as "An invalid argument was specified." This message takes into account the current system culture.

See http://msdn.microsoft.com/en-us/library/cc231198.aspx for more information about the definition of HRESULT values.

See Also