CodedXmlException Constructor (String, Exception, Int32, Int32) |
[This is preliminary documentation and is subject to change.]
Initializes a new instance of the
CodedXmlException class with the specified message, inner exception, line number, and line position.
Namespace:
NerdyDuck.CodedExceptions
Assembly:
NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntaxpublic CodedXmlException(
string message,
Exception innerException,
int lineNumber,
int linePosition
)
Public Sub New (
message As String,
innerException As Exception,
lineNumber As Integer,
linePosition As Integer
)
View SourceParameters
- message
- Type: SystemString
The error message that explains the reason for the exception. - innerException
- Type: SystemException
The exception that is the cause of the current exception, or if no inner exception is specified. - lineNumber
- Type: SystemInt32
The line number indicating where the error occurred. - linePosition
- Type: SystemInt32
The line position indicating where the error occurred.
RemarksThis constructor initializes the
Message property of the new instance using the value of the
message parameter. The content of the message parameter 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.
See Also