Initializes a new instance of the TlsFailureException class with a specified error message and 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, _
	
errorCode 
As 
Integer, _
	
tlsFailureReason 
As 

TlsFailureReason _
)
C#
public 
TlsFailureException(
	
string 
message,
	
Exception 
innerException,
	
int 
errorCode,
	

TlsFailureReason 
tlsFailureReason
)
Visual C++
public:
TlsFailureException(
	
String^ 
message, 
	
Exception^ 
innerException, 
	
int 
errorCode, 
	

TlsFailureReason 
tlsFailureReason
)
JavaScript

Microsoft.Rtc.Signaling.TlsFailureException = 
function(
message, 
innerException, 
errorCode, 
tlsFailureReason);

Parameters

message
Type: String
The message that describes the error.
innerException
Type: Exception
The exception that is the cause of the current exception.
errorCode
Type: Int32
The error code.
tlsFailureReason
Type: Microsoft.Rtc.Signaling . . :: . TlsFailureReason
The reason for the TLS failure.

See Also