MessageParsingException Constructor (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.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
errorCause As ParsingFailureReason _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim errorCause As ParsingFailureReason
Dim instance As New MessageParsingException(message, _
innerException, errorCause)
public MessageParsingException(
string message,
Exception innerException,
ParsingFailureReason errorCause
)
Parameters
- message
Type: System.String
The message that describes the error.
- innerException
Type: System.Exception
The exception that is the cause of the current exception.
- errorCause
Type: Microsoft.Rtc.Signaling.ParsingFailureReason
Cause of the parsing error.
See Also
Reference
MessageParsingException Members