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.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
message 
As 
String, _
	
innerException 
As 
Exception, _
	
errorCause 
As 

ParsingFailureReason _
)
C#
public 
MessageParsingException(
	
string 
message,
	
Exception 
innerException,
	

ParsingFailureReason 
errorCause
)
Visual C++
public:
MessageParsingException(
	
String^ 
message, 
	
Exception^ 
innerException, 
	

ParsingFailureReason 
errorCause
)
JavaScript

Microsoft.Rtc.Signaling.MessageParsingException = 
function(
message, 
innerException, 
errorCause);

Parameters

message
Type: String
The message that describes the error.
innerException
Type: Exception
The exception that is the cause of the current exception.
errorCause
Type: Microsoft.Rtc.Signaling . . :: . ParsingFailureReason
Cause of the parsing error.

See Also