DirectoryServicesCOMException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy DirectoryServicesCOMException.

Przeciążenia

DirectoryServicesCOMException()

Inicjuje nowe wystąpienie klasy DirectoryServicesCOMException.

DirectoryServicesCOMException(String)

Inicjuje DirectoryServicesCOMException nowe wystąpienie klasy z określonym ciągiem.

DirectoryServicesCOMException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje DirectoryServicesCOMException nowe wystąpienie klasy z określonymi informacjami o serializacji i kontekstem przesyłania strumieniowego.

DirectoryServicesCOMException(String, Exception)

Inicjuje DirectoryServicesCOMException nowe wystąpienie klasy z określonym ciągiem i wyjątkiem.

DirectoryServicesCOMException()

Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs

Inicjuje nowe wystąpienie klasy DirectoryServicesCOMException.

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

Dotyczy

DirectoryServicesCOMException(String)

Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs

Inicjuje DirectoryServicesCOMException nowe wystąpienie klasy z określonym ciągiem.

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

Komunikat z opisem błędu.

Dotyczy

DirectoryServicesCOMException(SerializationInfo, StreamingContext)

Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs

Przestroga

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

Inicjuje DirectoryServicesCOMException nowe wystąpienie klasy z określonymi informacjami o serializacji i kontekstem przesyłania strumieniowego.

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

Element SerializationInfo do wypełnienia danymi.

context
StreamingContext

Miejsce StreamingContext docelowe tej serializacji.

Atrybuty

Dotyczy

DirectoryServicesCOMException(String, Exception)

Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs
Źródło:
DirectoryServicesCOMException.cs

Inicjuje DirectoryServicesCOMException nowe wystąpienie klasy z określonym ciągiem i wyjątkiem.

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

Komunikat z opisem błędu.

inner
Exception

Wyjątek będący przyczyną bieżącego wyjątku.

Dotyczy