CodedFileExistsException Constructor (Int32, String, String) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedFileExistsException class with with a specified HRESULT value, its message string set to
message and the file name that already exists.
Namespace:
NerdyDuck.CodedExceptions.IO
Assembly:
NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntaxpublic CodedFileExistsException(
int hresult,
string message,
string fileName
)
Public Sub New (
hresult As Integer,
message As String,
fileName As String
)
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. - fileName
- Type: SystemString
The full name of the file that already exists.
RemarksThe constructor initializes the Message property of the new instance using message and the FileName property using fileName.
See the HRESULT definition at MSDN for
more information about the definition of HRESULT values.
See Also