TlsFailureException Constructor (String, Exception, Int32, TlsFailureReason)
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
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
errorCode As Integer, _
tlsFailureReason As TlsFailureReason _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim errorCode As Integer
Dim tlsFailureReason As TlsFailureReason
Dim instance As New TlsFailureException(message, _
innerException, errorCode, tlsFailureReason)
public TlsFailureException(
string message,
Exception innerException,
int errorCode,
TlsFailureReason tlsFailureReason
)
Parameters
- message
Type: System.String
The message that describes the error.
- innerException
Type: System.Exception
The exception that is the cause of the current exception.
- errorCode
Type: System.Int32
The error code.
- tlsFailureReason
Type: Microsoft.Rtc.Signaling.TlsFailureReason
The reason for the TLS failure.