CodedDirectoryNotFoundException Constructor (Int32, String, String, Exception) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedDirectoryNotFoundException class with a specified HRESULT value, its message string set to
message, specifying the directory that cannot be found,
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 CodedDirectoryNotFoundException(
int hresult,
string message,
string directoryName,
Exception innerException
)
Public Sub New (
hresult As Integer,
message As String,
directoryName As String,
innerException As Exception
)
View SourceParameters
- hresult
- Type: SystemInt32
The HRESULT that describes the error. - message
- Type: SystemString
A description of the error. The content of message 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. - directoryName
- Type: SystemString
The full name of the directory that cannot be found. - innerException
- Type: SystemException
The exception that is the cause of the current exception, or if no inner exception is specified.
Remarks
See Also