Sdílet prostřednictvím


DirectoryServicesCOMException Konstruktory

Definice

Inicializuje novou instanci DirectoryServicesCOMException třídy.

Přetížení

DirectoryServicesCOMException()

Inicializuje novou instanci DirectoryServicesCOMException třídy.

DirectoryServicesCOMException(String)

Inicializuje novou instanci DirectoryServicesCOMException třídy pomocí zadaného řetězce.

DirectoryServicesCOMException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci DirectoryServicesCOMException třídy se zadanými informacemi o serializaci a kontextem streamování.

DirectoryServicesCOMException(String, Exception)

Inicializuje novou instanci DirectoryServicesCOMException třídy se zadaným řetězcem a výjimkou.

DirectoryServicesCOMException()

Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs

Inicializuje novou instanci DirectoryServicesCOMException třídy.

public:
 DirectoryServicesCOMException();
public DirectoryServicesCOMException ();
Public Sub New ()

Platí pro

DirectoryServicesCOMException(String)

Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs

Inicializuje novou instanci DirectoryServicesCOMException třídy pomocí zadaného řetězce.

public:
 DirectoryServicesCOMException(System::String ^ message);
public DirectoryServicesCOMException (string message);
public DirectoryServicesCOMException (string? message);
new System.DirectoryServices.DirectoryServicesCOMException : string -> System.DirectoryServices.DirectoryServicesCOMException
Public Sub New (message As String)

Parametry

message
String

Zpráva popisující chybu

Platí pro

DirectoryServicesCOMException(SerializationInfo, StreamingContext)

Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs

Upozornění

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicializuje novou instanci DirectoryServicesCOMException třídy se zadanými informacemi o serializaci a kontextem streamování.

protected:
 DirectoryServicesCOMException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DirectoryServicesCOMException (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 DirectoryServicesCOMException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.DirectoryServicesCOMException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.DirectoryServicesCOMException
[<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.DirectoryServicesCOMException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.DirectoryServicesCOMException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parametry

info
SerializationInfo

Chcete-li SerializationInfo naplnit daty.

context
StreamingContext

Cíl StreamingContext pro tuto serializaci.

Atributy

Platí pro

DirectoryServicesCOMException(String, Exception)

Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs
Zdroj:
DirectoryServicesCOMException.cs

Inicializuje novou instanci DirectoryServicesCOMException třídy se zadaným řetězcem a výjimkou.

public:
 DirectoryServicesCOMException(System::String ^ message, Exception ^ inner);
public DirectoryServicesCOMException (string message, Exception inner);
public DirectoryServicesCOMException (string? message, Exception? inner);
new System.DirectoryServices.DirectoryServicesCOMException : string * Exception -> System.DirectoryServices.DirectoryServicesCOMException
Public Sub New (message As String, inner As Exception)

Parametry

message
String

Zpráva popisující chybu

inner
Exception

Výjimka, která je příčinou aktuální výjimky

Platí pro