TlsOperationException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Konstruktorn TlsOperationException() skapar en instans av TlsOperationException klassen.
Överlagringar
TlsOperationException()
Konstruktorn TlsOperationException() skapar en instans av TlsOperationException klassen.
public:
TlsOperationException();
public TlsOperationException();
Public Sub New ()
Gäller för
TlsOperationException(DirectoryResponse)
Konstruktorn TlsOperationException(DirectoryResponse) skapar en instans av TlsOperationException klassen med det angivna svaret.
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)
Parametrar
- response
- DirectoryResponse
Ett DirectoryResponse objekt som returneras av servern.
Gäller för
TlsOperationException(String)
Konstruktorn TlsOperationException(String) skapar en instans av TlsOperationException klassen med det angivna meddelandet.
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)
Parametrar
- message
- String
Meddelandet visas för klienten när undantaget inträffar.
Gäller för
TlsOperationException(DirectoryResponse, String)
Konstruktorn TlsOperationException(DirectoryResponse, String) skapar en instans av TlsOperationException klassen med det angivna svaret och meddelandet.
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)
Parametrar
- response
- DirectoryResponse
Ett DirectoryResponse objekt som returneras av servern.
- message
- String
Meddelandet visas för klienten när undantaget inträffar.
Gäller för
TlsOperationException(SerializationInfo, StreamingContext)
Konstruktorn TlsOperationException(SerializationInfo, StreamingContext) skapar en instans av TlsOperationException klassen med angivna serialiseringsdata och strömningskontext.
protected:
TlsOperationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected TlsOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
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)
Parametrar
- info
- SerializationInfo
De data som krävs för att serialisera parametern.
- context
- StreamingContext
Källan och målet för den serialiserade dataström som är associerad med parametern.
Gäller för
TlsOperationException(String, Exception)
Konstruktorn TlsOperationException(String, Exception) skapar en instans av TlsOperationException klassen med det angivna meddelandet och det inre undantaget.
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)
Parametrar
- message
- String
Meddelandet visas för klienten när undantaget inträffar.
- inner
- Exception
Den InnerException, om någon, som utlöste undantaget.
Gäller för
TlsOperationException(DirectoryResponse, String, Exception)
Konstruktorn TlsOperationException(DirectoryResponse, String, Exception) skapar en instans av TlsOperationException klassen med det angivna svaret, meddelandet och det inre undantaget.
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)
Parametrar
- response
- DirectoryResponse
Ett DirectoryResponse objekt som returneras av servern.
- message
- String
Meddelandet visas för klienten när undantaget inträffar.
- inner
- Exception
Den InnerException, om någon, som utlöste undantaget.