CodedArgumentException Constructor (Int32, String) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedArgumentException class with a specified HRESULT value and an error message.
Namespace:
NerdyDuck.CodedExceptions
Assembly:
NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntaxpublic CodedArgumentException(
int hresult,
string message
)
Public Sub New (
hresult As Integer,
message As String
)
View SourceParameters
- hresult
- Type: SystemInt32
The HRESULT that describes the error. - message
- Type: SystemString
The error message that explains the reason for the exception.
RemarksThis constructor initializes the Message property of the new instance using message.
See the HRESULT definition at MSDN for
more information about the definition of HRESULT values.
See Also