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.

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 _
)
C#
public 
RegisterException(
	
string 
message,
	
Exception 
innerException
)
Visual C++
public:
RegisterException(
	
String^ 
message, 
	
Exception^ 
innerException
)
JavaScript

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

Parameters

message
Type: String
The message that describes the error.
innerException
Type: Exception
The exception that is the cause of the current exception.

See Also