Initializes a new instance of the class.
Namespace:
Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Sub New ( _
message As String, _
innerException As Exception, _
errorCause As ParsingFailureReason, _
lineNumber As Integer _
)
|
|
public MessageParsingException (
string message,
Exception innerException,
ParsingFailureReason errorCause,
int lineNumber
)
|
Parameters
- message
-
The message that describes the error.
- innerException
-
The exception that is the cause of the current exception.
- errorCause
-
Cause of the parsing error.
- lineNumber
-
The line number where parsing error is hit in the message body,
its value would be less than zero, if the line number is not known
or an error is not due to message body parsing error. If the line
number passed is less than zero and the inner exception is
XmlException, the line number gets populated from the
innerException line number.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server
2003, Windows Vista Ultimate Edition, Windows Vista Business
Edition, Windows Vista Enterprise Edition
Target Platforms
See Also