CodedInvalidDataException Constructor (Int32, String, Exception) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedInvalidDataException 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.IO
Assembly:
NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntaxpublic CodedInvalidDataException(
int hresult,
string message,
Exception innerException
)
Public Sub New (
hresult As Integer,
message As String,
innerException As Exception
)
View SourceParameters
- 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.
RemarksThis constructor initializes the Message property of the new instance using the value of the message parameter. The content of the message parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for 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