MessageParsingException Members
Include Protected Members
Include Inherited Members
Defines the exception associated with a parsing of header.
The MessageParsingException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MessageParsingException() | Initializes a new instance of the class. | |
MessageParsingException(String) | Initializes a new instance of the class with a specified error message. | |
MessageParsingException(SerializationInfo, StreamingContext) | Initializes a new instance of the class with serialized data. | |
MessageParsingException(String, Exception) | Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. | |
MessageParsingException(String, Exception, ParsingFailureReason) | Initializes a new instance of the class with a specified error message, reference to the inner exception that is the cause of this exception and the reason parsing failed. | |
MessageParsingException(String, Exception, ParsingFailureReason, Int32) | Initializes a new instance of the class with a specified error message, reference to the inner exception that is the cause of this exception, the response code, and response text. |
Top
Properties
Name | Description | |
---|---|---|
Data | (inherited from Exception) | |
DetectionStackTrace | Gets a string representation of the frames on the call stack at the time the current exception was detected. For exceptions that are transferred to application threads, this provides better diagnostic information than the stack where it was thrown. (inherited from RealTimeException) | |
HelpLink | (inherited from Exception) | |
HResult | (inherited from Exception) | |
InnerException | (inherited from Exception) | |
LineNumber | Line number where parsing error is hit in messae body, its value would be less than 0, if line number is not known or error is not due to message body parsing error. | |
Message | (inherited from Exception) | |
Reason | Cause of the parsing error | |
Source | (inherited from Exception) | |
StackTrace | (inherited from Exception) | |
TargetSite | (inherited from Exception) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetBaseException | (inherited from Exception) | |
GetHashCode | (inherited from Object) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the object. (Overrides RealTimeException.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (inherited from Exception) | |
MemberwiseClone | (inherited from Object) | |
ToString | Returns the string representation of MessageParsingException, which contains Reason and LineNumber (Overrides RealTimeException.ToString().) |
Top