Initializes a new instance of the class with a specified error message.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
message 
As 
String, _
	
deregisterReason 
As 

RegistrationTransitionReason _
)
C#
public 
RegisterException(
	
string 
message,
	

RegistrationTransitionReason 
deregisterReason
)
Visual C++
public:
RegisterException(
	
String^ 
message, 
	

RegistrationTransitionReason 
deregisterReason
)
JavaScript

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

Parameters

message
Type: String
The message that describes the error.
deregisterReason
Type: Microsoft.Rtc.Signaling . . :: . RegistrationTransitionReason
The reason for being unregistered. Unknown. Number of active endpoints exceeed limit. User has been changed. User has been moved.

See Also