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

Microsoft.Rtc.Signaling.PublishSubscribeException = 
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