CodedInvalidFileException Constructor (String, String, Exception) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedInvalidFileException class with its message string set to
message, specifying the name of the invalid file,
its HRESULT set to COR_E_IO, 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 CodedInvalidFileException(
string message,
string fileName,
Exception innerException
)
Public Sub New (
message As String,
fileName As String,
innerException As Exception
)
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. - fileName
- Type: SystemString
The full name of the invalid file. - innerException
- Type: SystemException
The exception that is the cause of the current exception, or if no inner exception is specified.
RemarksThe constructor initializes the
Message property of the new instance using
message and the
FileName property using
fileName.
See Also