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
Public method MessageParsingException() Initializes a new instance of the class.
Public method MessageParsingException(String) Initializes a new instance of the class with a specified error message.
Protected method MessageParsingException(SerializationInfo, StreamingContext) Initializes a new instance of the class with serialized data.
Public method 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.
Public method 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.
Public method 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
Public property Data (inherited from Exception)
Public property 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)
Public property HelpLink (inherited from Exception)
Protected property HResult (inherited from Exception)
Public property InnerException (inherited from Exception)
Public property 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.
Public property Message (inherited from Exception)
Public property Reason Cause of the parsing error
Public property Source (inherited from Exception)
Public property StackTrace (inherited from Exception)
Public property TargetSite (inherited from Exception)

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetBaseException (inherited from Exception)
Public method GetHashCode (inherited from Object)
Public method GetObjectData Populates a SerializationInfo with the data needed to serialize the object. (Overrides RealTimeException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (inherited from Exception)
Protected method MemberwiseClone (inherited from Object)
Public method ToString Returns the string representation of MessageParsingException, which contains Reason and LineNumber (Overrides RealTimeException.ToString().)

Top

See Also

Reference

MessageParsingException Class

Microsoft.Rtc.Signaling Namespace