MessageParsingException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the exception associated with a parsing of header.
public ref class MessageParsingException : Microsoft::Rtc::Signaling::RealTimeException
[Serializable]
public class MessageParsingException : Microsoft.Rtc.Signaling.RealTimeException
type MessageParsingException = class
inherit RealTimeException
Public Class MessageParsingException
Inherits RealTimeException
- Inheritance
- Attributes
-
SerializableAttribute
Constructors
MessageParsingException() |
Initializes a new instance of the class. |
MessageParsingException(SerializationInfo, StreamingContext) |
Initializes a new instance of the class with serialized data. |
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. |
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) |
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) |
Initializes a new instance of the class with a specified error message. |
Properties
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) |
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. |
Reason |
Cause of the parsing error |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data needed to serialize the object. |
ToString() |
Returns the string representation of MessageParsingException, which contains Reason and LineNumber |