CodedDirectoryNotFoundException Constructor (String, String) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedDirectoryNotFoundException class with with its message string set to
message, specifying the directory name that cannot be found, its HRESULT set to COR_E_DIRECTORYNOTFOUND.
Namespace:
NerdyDuck.CodedExceptions.IO
Assembly:
NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntaxpublic CodedDirectoryNotFoundException(
string message,
string directoryName
)
Public Sub New (
message As String,
directoryName As String
)
View SourceParameters
- 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.
RemarksThe constructor initializes the
Message property of the new instance using
message and the
DirectoryName property using
directoryName.
See Also