TlsFailureException Class

Definition

Defines the exception to be thrown, when there is a connection issue due to the use of TLS.

public ref class TlsFailureException : Microsoft::Rtc::Signaling::RealTimeException
[Serializable]
public class TlsFailureException : Microsoft.Rtc.Signaling.RealTimeException
type TlsFailureException = class
    inherit RealTimeException
Public Class TlsFailureException
Inherits RealTimeException
Inheritance
TlsFailureException
Attributes
SerializableAttribute

Constructors

TlsFailureException()

Initializes a new instance of the TlsFailureException class.

TlsFailureException(SerializationInfo, StreamingContext)

Initializes a new instance of the TlsFailureException class with serialized data.

TlsFailureException(String)

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

TlsFailureException(String, Exception)

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.

TlsFailureException(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.

Properties

DetectionStackTrace

Gets a string representation of the frames on the call stack at the time the current exception was detected. For exceptions that are transferred to application threads, this provides better diagnostic information than the stack where it was thrown.

(Inherited from RealTimeException)
ErrorCode

Gets the error code integer.

FailureReason

Gets the possible cause for failure.

LocalEndpoint

Gets the local endpoint associated with this exception, if available.

RemoteCertificate

Gets the remote certificate associated with this exception, if available.

RemoteEndpoint

Gets the remote endpoint associated with this exception, if available.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the object.

ToString()

Returns the string representation of TlsFailureException. The string includes ErrorCode and FailureReason properties.

Applies to