TlsFailureException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TlsFailureException() |
Initializes a new instance of the TlsFailureException class. |
TlsFailureException(String) |
Initializes a new instance of the TlsFailureException class with a specified error message. |
TlsFailureException(SerializationInfo, StreamingContext) |
Initializes a new instance of the TlsFailureException class with serialized data. |
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. |
TlsFailureException()
Initializes a new instance of the TlsFailureException class.
public:
TlsFailureException();
public TlsFailureException ();
Public Sub New ()
Applies to
TlsFailureException(String)
Initializes a new instance of the TlsFailureException class with a specified error message.
public:
TlsFailureException(System::String ^ message);
public TlsFailureException (string message);
new Microsoft.Rtc.Signaling.TlsFailureException : string -> Microsoft.Rtc.Signaling.TlsFailureException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
TlsFailureException(SerializationInfo, StreamingContext)
Initializes a new instance of the TlsFailureException class with serialized data.
protected:
TlsFailureException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected TlsFailureException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Rtc.Signaling.TlsFailureException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Rtc.Signaling.TlsFailureException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The object that holds the serialized object data.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
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.
public:
TlsFailureException(System::String ^ message, Exception ^ innerException);
public TlsFailureException (string message, Exception innerException);
new Microsoft.Rtc.Signaling.TlsFailureException : string * Exception -> Microsoft.Rtc.Signaling.TlsFailureException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception.
Applies to
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.
public:
TlsFailureException(System::String ^ message, Exception ^ innerException, int errorCode, Microsoft::Rtc::Signaling::TlsFailureReason tlsFailureReason);
public TlsFailureException (string message, Exception innerException, int errorCode, Microsoft.Rtc.Signaling.TlsFailureReason tlsFailureReason);
new Microsoft.Rtc.Signaling.TlsFailureException : string * Exception * int * Microsoft.Rtc.Signaling.TlsFailureReason -> Microsoft.Rtc.Signaling.TlsFailureException
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception.
- errorCode
- Int32
The error code.
- tlsFailureReason
- TlsFailureReason
The reason for the TLS failure.