TlsOperationException 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.
The TlsOperationException() constructor creates an instance of the TlsOperationException class.
Overloads
TlsOperationException()
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
The TlsOperationException() constructor creates an instance of the TlsOperationException class.
public:
TlsOperationException();
public TlsOperationException ();
Public Sub New ()
Applies to
TlsOperationException(DirectoryResponse)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
The TlsOperationException(DirectoryResponse) constructor creates an instance of the TlsOperationException class using the specified response.
public:
TlsOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response);
public TlsOperationException (System.DirectoryServices.Protocols.DirectoryResponse response);
new System.DirectoryServices.Protocols.TlsOperationException : System.DirectoryServices.Protocols.DirectoryResponse -> System.DirectoryServices.Protocols.TlsOperationException
Public Sub New (response As DirectoryResponse)
Parameters
- response
- DirectoryResponse
A DirectoryResponse object returned by the server.
Applies to
TlsOperationException(String)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
The TlsOperationException(String) constructor creates an instance of the TlsOperationException class using the specified message.
public:
TlsOperationException(System::String ^ message);
public TlsOperationException (string message);
new System.DirectoryServices.Protocols.TlsOperationException : string -> System.DirectoryServices.Protocols.TlsOperationException
Public Sub New (message As String)
Parameters
- message
- String
The message displayed to the client when the exception occurs.
Applies to
TlsOperationException(DirectoryResponse, String)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
The TlsOperationException(DirectoryResponse, String) constructor creates an instance of the TlsOperationException class using the specified response and message.
public:
TlsOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response, System::String ^ message);
public TlsOperationException (System.DirectoryServices.Protocols.DirectoryResponse response, string message);
new System.DirectoryServices.Protocols.TlsOperationException : System.DirectoryServices.Protocols.DirectoryResponse * string -> System.DirectoryServices.Protocols.TlsOperationException
Public Sub New (response As DirectoryResponse, message As String)
Parameters
- response
- DirectoryResponse
A DirectoryResponse object returned by the server.
- message
- String
The message displayed to the client when the exception occurs.
Applies to
TlsOperationException(SerializationInfo, StreamingContext)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
Caution
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
The TlsOperationException(SerializationInfo, StreamingContext) constructor creates an instance of the TlsOperationException class using the specified serialization data and streaming context.
protected:
TlsOperationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected TlsOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected TlsOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.DirectoryServices.Protocols.TlsOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.TlsOperationException
new System.DirectoryServices.Protocols.TlsOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.Protocols.TlsOperationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The data required to serialize the parameter.
- context
- StreamingContext
The source and destination of the serialized stream associated with the parameter.
- Attributes
Applies to
TlsOperationException(String, Exception)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
The TlsOperationException(String, Exception) constructor creates an instance of the TlsOperationException class using the specified message and inner exception.
public:
TlsOperationException(System::String ^ message, Exception ^ inner);
public TlsOperationException (string message, Exception inner);
new System.DirectoryServices.Protocols.TlsOperationException : string * Exception -> System.DirectoryServices.Protocols.TlsOperationException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The message displayed to the client when the exception occurs.
- inner
- Exception
The InnerException, if any, that threw the exception.
Applies to
TlsOperationException(DirectoryResponse, String, Exception)
- Source:
- LdapException.cs
- Source:
- LdapException.cs
- Source:
- LdapException.cs
The TlsOperationException(DirectoryResponse, String, Exception) constructor creates an instance of the TlsOperationException class using the specified response, message, and inner exception.
public:
TlsOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response, System::String ^ message, Exception ^ inner);
public TlsOperationException (System.DirectoryServices.Protocols.DirectoryResponse response, string message, Exception inner);
new System.DirectoryServices.Protocols.TlsOperationException : System.DirectoryServices.Protocols.DirectoryResponse * string * Exception -> System.DirectoryServices.Protocols.TlsOperationException
Public Sub New (response As DirectoryResponse, message As String, inner As Exception)
Parameters
- response
- DirectoryResponse
A DirectoryResponse object returned by the server.
- message
- String
The message displayed to the client when the exception occurs.
- inner
- Exception
The InnerException, if any, that threw the exception.
Applies to
.NET